Next Index Previous

Python Examples

11. Program to create a text file.

fh = open('hello.txt','w')
fh.write('Hello to all')
fh.close()



Father of Python Language

Guido-van-Rossum

Guido van Rossum

Born: January 31, 1956, Netherlands
Google+