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