Skip to main content

Posts

Showing posts from July, 2026

TEXT FILE INTRO

  fout= open("text.txt","w") # new File opened for writing fout.write("This program is creating a text file\n") str="The name of the text file is text.txt" fout.write(str+"\n") fout.close()