[Tutor] a quick Q: how to use for loop to read a series of files with .doc end
lina
lina.lastname at gmail.com
Fri Oct 7 16:41:06 CEST 2011
<snip>
>
> Now fixed the excessive output.
>
> Thanks,
>
> but in another case, seems there is a problem, for the line actually is:
>
> "EEEEEEEEEEESEEEEEEEEEEEEEEEE~EEEEEEEEEEEE~EEEEEE~EEEEEEEEEE~EEEEEE~EEEEEEEEEEEE
>
> EEEEEEEEEEEEEEEEEEEEE~EEEEEEEEEEEEEEEEEEEEEEEE~EEE~EEEEEEEEEEEEEEEEEEEEEEEEEEEEE
> EEEEEEEEEEEEEEEEEEEEEE~EEEEEEEEEEEEEEEEEE~",
>
> not naked EEEor whatever. it's already in ""
>
They treated " " as char,
but I don't understand why the output is so many zeros ? and only zero for
my case
because each line ends up with , ?
print(text) showed:
SSST",\n', '"~~~~E
Thanks for any hint,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111007/b61c0010/attachment.html>
More information about the Tutor
mailing list