[Tutor] commandline unable to read numbers?

Robert Sjoblom robert.sjoblom at gmail.com
Sun Aug 7 21:56:05 CEST 2011


> I think you are on the right track: Python 3.2's input() has a nasty bug on
> Windows (http://bugs.python.org/issue11272). If you repeat the following in
> your interactive interpreter (invoked from the commmandline)
>
>>>> input()
> 123
> '123'
>
> and see '123\r' instead of just '123' you are affected. I believe the bug is
> fixed in 3.2.1, so the easiest solution to your problem would be to switch
> to that version.
Well that's what I get ('123\r'); installing 3.2.1 fixed it. setup.py
works, as does menu.py (except the search function, but that's a
different problem). Thank you (and everyone else who put time and
effort into trying to solve this)!

-- 
best regards,
Robert S.


More information about the Tutor mailing list