[newbie] Writing to file : "name 'concat' is not defined"?

Brian Quinlan brian at sweetapp.com
Wed Jul 21 10:01:04 EDT 2004


Fred wrote:
> Thank you Brian. That solved it :-)
> 
> However, the above was just stuff I read on the web:
> 
> http://diveintopython.org/file_handling/file_objects.html#d0e15055
> http://docs.python.org/tut/node9.html

Here was your original code:

file=concat('test.txt','w')
file.close()	

I don't see any reference to a "concat" function in either of those 
resources.

Please let the list know if you have any other questions!

Cheers,
Brian



More information about the Python-list mailing list