Next Index Previous

Python Examples

13. Program to append data into a file.

fh = open('hello.txt','a')
fh.write('How are you?')
fh.close()




Father of Python Language

Guido-van-Rossum

Guido van Rossum

Born: January 31, 1956, Netherlands