samedi 20 décembre 2014

Explanation of the code to read a file (File IO)


In the code:



in_file = open("test.txt", "r")
text = in_file.read()
in_file.close()


What is the role of the text in the 2nd line ?





Aucun commentaire:

Enregistrer un commentaire