Contents of the Python output file
Import os
Document = open ("testfile.txt", "w +")
Print ("File name:", document.name)
[xss_clean] ("this is the first test file I created!\ nwelcome!") #\ n indicates line feeds
Print (document.tell ()) # estimates how many bytes are read
Document.seek (os.SEEK_SET) # cannot read the contents of the file without this sentence
Context = document.read ()
Print (context)
Document.close ()