Stripping in Python
Abdul Abdul
abdul.sw84 at gmail.com
Thu Jan 15 05:34:51 EST 2015
Hello,
I have a program where I read a line input from the keyboard.
If I remove this portion of code after reading the line, I get an error:
line = line.rstrip()
Why is that? Should stripping be always be used after reading an input in
Python?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150115/48ccf09e/attachment.html>
More information about the Python-list
mailing list