stringio+tarfile

Lie Ryan lie.1296 at gmail.com
Fri Jul 3 15:16:00 CEST 2009


superpollo wrote:
>> First problem I see is all those numbers before the lines.  That's not
>> valid python.
>>
>> Assuming that was a transcription error
> 
> not so. i intentionally add linenumbers to facilitare reference to the
> code, but if it is a nuisance i will not include them anymore.

The line numbering makes it impossible for others to copy and paste to
the interactive interpreter to see the problem code running, and makes
it hard to copy and paste into a script file. For code reference,
quoting the problematic code is usually much easier.



More information about the Python-list mailing list