20 May
2004
20 May
'04
4:51 p.m.
On Thu, May 20, 2004 at 11:36:36AM -0500, Laura McCord wrote:
I have been getting an error : 'file' object has no attribute 'append'
That's because python file objects really do not have an append method :-) Try the write method instead. It's good to get familiar with the Python docs, particularly the standard library reference: http://docs.python.org/lib/lib.html In this case, under "built-in types", you will find this: http://docs.python.org/lib/bltin-file-objects.html -- Paul Winkler http://www.slinkp.com