Reuven Lerner's Python Courses
/beginner
Login
Login
/beginner
Intro Python: Files
by
Reuven M. Lerner
Buy for $150
Intro Python: Files
Buy for $150
What's included?
Video Icon
34 videos
File Icon
3 files
Contents
Introduction
00 Intro
2 mins
Get access
01 Files, filesystems, and file objects
6 mins
Get access
Section 1: Basic operations
Section 1 — Basic operations.ipynb
184 KB
Get access
02 Opening files
5 mins
Get access
03 Absolute and relative paths
8 mins
Get access
04 Exceptions
6 mins
Get access
05 Reading from files
11 mins
Get access
06 Iterating over files
7 mins
Get access
07 Filtering
5 mins
Get access
08 Comprehensions
3 mins
Get access
09 Exercises 1
3 mins
Get access
10 Exercise solutions 1
8 mins
Get access
11 Closing files
6 mins
Get access
12 Using "with"
7 mins
Get access
13 Closing files in "for" loops
3 mins
Get access
14 Exercises 2.mp4
2 mins
Get access
15 Exercise 2 solutions
6 mins
Get access
16 os.listdir and os.path.join
7 mins
Get access
17 glob.glob
7 mins
Get access
Section 2: Writing to files
Section 2 — Writing to files.ipynb
20.2 KB
Get access
18 Writing to files
13 mins
Get access
19 Appending with "a"
4 mins
Get access
20 Line-buffered output
4 mins
Get access
21 print and sys.stdout
6 mins
Get access
22 sys.stderr and redefining sys.stdout
5 mins
Get access
Section 3: Encoding and bytes
Section 3 — Encodings, byte strings, and binary files.ipynb
29.6 KB
Get access
28 Strings and bytestrings
9 mins
Get access
29 Reading and writing bytes
7 mins
Get access
30 Identifying JPEGs by their bytes
6 mins
Get access
31 Exercises 4
1 min
Get access
32 Exercise 4 answers
7 mins
Get access
Section 4: Advanced techniques
33 Moving around with "seek" and "tell"
10 mins
Get access
34 Working with r+, w+, and a+ modes
8 mins
Get access
35 Newlines
10 mins
Get access
36 sys.stdin
7 mins
Get access
38 StringIO
4 mins
Get access
37 os.path
6 mins
Get access
Welcome!
Enter your info below to login.
Your email
Your password
Login
Forgot your password?