Thread
:
Python .append problem -- help needed
View Single Post
pycage
2009-01-14 , 08:41
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#
4
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()
Quote & Reply
|
The Following User Says Thank You to pycage For This Useful Post:
BrentDC
pycage
View Public Profile
Send a private message to pycage
Find all posts by pycage