How to erase the file contents of text file in Python?,"open('file.txt', 'w').close()"