Clear Contents of a File using Python July 22, 2021 Python 0 Comments 371 Views open function with write mode 12file = open('test.txt', 'w') file.close()
Leave a Comment
Cancel reply