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