- Python can be used to perform operation on a file (read , write)
Type of a file
- Text files :( txt, .docx, .log etc)
- Binary Files :( mp4, .mov, .png, .jpegg etc)
- we can perform the operation on the files stored in your computers
Syntax
f = open(”filename”,”mode”)
