Mega Code Archive

 
Categories / Python / File
 

Reading the newly created file

print "\nReading the newly created file." text_file = open("write_it.txt", "r") print text_file.read() text_file.close()