View Single Post
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#5
Originally Posted by pycage View Post
Dive into Python is excellent work but really confusing stuff.

You can use mode "a" to append:
Code:
fd = open("myfile", "a")
fd.write("some text")
fd.close()
Thanks a lot pycage! That worked great.

Oh, and I'm glad someone else thinks Dive into Python is confusing