list iteration question

bjorn bjorn at roguewave.com
Wed Feb 16 15:48:53 EST 2000


Probably because you didn't import the string module and are using
string.rstrip...
--bjorn

"David R. Favor" wrote:

> In the attached code, would someone point out why the function
> chomp4() throws an exception?
>
> Thanks.
>
>   ------------------------------------------------------------------------
>
>    fileio.pyName: fileio.py
>             Type: Plain Text (text/plain)





More information about the Python-list mailing list