file = open('myfile.txt') # 'r' is default open mode print(file.read()) # Or print(open().read())