getpass.getpass() on Win2K/XP

Tim Peters tim.one at comcast.net
Fri Dec 6 22:16:11 EST 2002


[djw]
> ...
> On my 2.2.1 install of ActiveState, 'import termios' does not fail. So,
> getpass() gets bound to unix_getpass() and then fails with:

Importing termios should fail.  Try 2.2.2, or use "python -v" to figure out
where termios is coming from; perhaps you installed other software that put
a termios.py on your PYTHONPATH.  While Windows generally has
case-insensitive file systems, Python does case-sensitive imports (on all
platforms).





More information about the Python-list mailing list