Python#6-6: Editing a File

Опубликовано: 23 Июль 2026
на канале: Amin K Amiri
335
1

This video explains how you can use Python to edit a file.

00:13 Changing a fraction in a file (slide #53)
01:23 Edit using read (slide #54)
03:59 Edit using readlines (slide #55)
06:45 Exercise 5: Edit customer info (slide #56, #57)
13:39 Exercise 6: A pattern every two lines (slide #58, #59)
20:49 OS module (slide #60)
23:49 Summary (slide #61)
25:29 Appendix
25:39 Writing and reading an object
26:19 Editing large files
26:49 shelve: reading and writing in a file like a dictionary
27:09 shutil: creating a backup with one line