Akhil Narayanan Nair home

Python - Read File

================

inFile = open(‘sample3.txt’, ‘r’)

contents = inFile.read()

print(contents)