Zamknięcie plików tekstowych w Pythonie
file = open("file_name","ab+")
file.close()
Annoying Ape
file = open("file_name","ab+")
file.close()
with open(filename) as f:
#use file
#close file
f.close()
fileObject.close()
file1 = open("SofhuntFile1.txt","a")
file1.close()
File_object.close()