PyNotes
261 subscribers
125 photos
7 videos
1 file
60 links
**Code is communication**
admin: @Xojarbu
https://t.me/solutions_py for problem solutions
Download Telegram
#working_with_files
Title: Reading Files

Builtin operator with in python will automatically close the file when you are done processing it.
instead of :
handle = open("test.txt")
can use:
with open("test.txt") as file_handler
#working_with_files
Title:Writing files