Create Text File

file = open("sample.txt", "w")
file.write("sample text file")
file.close()

Leave a Reply

Your email address will not be published. Required fields are marked *

Afiseaza emoticoanele Locco.Ro