- Home
- Course Detail
regularpython@gmail.com
You are now watching:
Python Files / of Python File Access Modes
'''========================File Modes & Description=====================================''' #Read Mode and write mode filer = open("E:\\python video classes - Copy\\00.what is the use of python\\data analysis.jpg", "rb") # rdata = filer.read() rdata = filer.read(50000) file = open("E:\\python video classes - Copy\\19.python files\\test_data3.jpg", "ab") file.write(rdata) data = file.read() print(data) file.write(rdata) data = file.read()