Custom Search

Sunday, October 18, 2009

Adding text to a file

x = open("file.txt", "w")
y = raw_input()
x.write(y)
x.close
x = open("file.txt", "r")
x.read

No comments:

Post a Comment