Eclipse Carriage Return Workaround

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Dec 18 19:26:53 EST 2009


Steve Holden wrote:
> 
> Can anyone think of a simple way work around this issue by overriding
> __builtins__.input() with a function that calls input() and then returns
> an rstrip()ped version of the input string? I though of setting a
> PYTHONSTARTUP environment variable, but that only affects interactive
> interpreter instances.

Maybe you could put something in site.py?

-- 
Greg



More information about the Python-list mailing list