Next Index Previous

Python Examples

12. Program to read file data.

fh = open('hello.txt','r')
print(fh.read())
fh.close()



Father of Python Language

Guido-van-Rossum

Guido van Rossum

Born: January 31, 1956, Netherlands
Google+