statements of open a text file for following code example
Example: file.open("file.txt);
myfile = open("example.txt")
txt = myfile.read()
print(txt)
myfile.close()
myfile = open("example.txt")
txt = myfile.read()
print(txt)
myfile.close()