ফাইল খোলা
file_to_work_on = open("file_name.txt")file_to_work_on = open("file_name.txt", "w")file_to_work_on = open("file_name.txt", "r")file_to_work_on = open("file_name.txt", "a")file_to_work_on = open("my_file", "wb")file_to_work = open("filename.txt", "w")
# do HERE whatever you like, with the file
# such as write new lines in it
# then close it
file_to_work.close()Last updated