In this python tutorial, we will clarify about reading/ writing files, how to work with a file, how to open, create and close a file, use of “functions”, “modules” and “flags”.
Code used in this tutorial: github.com/codebasics/py/blob...
Exercise: github.com/codebasics/py/blob...
Topics that are covered in this Python Video:
0:00 Overview
0:32 Open() function
1:35 write() function
1:51 close() function
2:54 append mode in a file
4:06 read from a file
5:10 read mode in a file
5:35 read() function
7:19 Split() function
11:50 File opening modes
13:23 with statement
14:16 close Flag in file
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
Next Video:
14. if _name_ == "__main__": • 14. if __name__ == "__...
Website: codebasics.io/
Facebook: / codebasicshub
Twitter: / codebasicshub
28 июн 2024