On Sat, Nov 15, 2008 at 12:19 AM, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Fri, 14 Nov 2008 20:39:53 -0800, len wrote: > >> hi >> >> Have this code in my program; >> >> filename = 'custfile' >> codeline = filename + ' = [\n' >> output.write(codeline) >> >> record written to file look like this >> >> "custfile" = [ > > I cannot reproduce that behaviour. I suggest that the code you are > running is not the same as the code you say you are running. > -- > Steven
Same here. I don't get quotes around it. Also, how is "output" defined? I got an error, so I used sys.stderr.write() instead. -- http://mail.python.org/mailman/listinfo/python-list