Thread
:
Python .append problem -- help needed
View Single Post
maacruz
2009-01-14 , 01:56
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#
2
You should consult the python library reference.
file objects doesn't have the append method, only mutable secuence types (like lists) have .append
On files, you can open the file for appending, so writes get appended to the end of the file. Do not confuse the file on disk with a file object.
Quote & Reply
|
maacruz
View Public Profile
Send a private message to maacruz
Find all posts by maacruz