[Tutor] getpass

Bruce Sass Bruce Sass <bsass@freenet.edmonton.ab.ca>
Fri, 19 Jan 2001 13:49:59 -0700 (MST)


I'm using 1.5.2 (in /usr) and ActiveState-2.0 (in /usr/local) on a
Debian 2.2 system; getpass does not echo when called like
"getpass.getpass()" from the interpreter.

> >>> import termios
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named termios
> >>>
> So that's why. But why is termios missing when getpass is 
> there? And where do I get a valid termios module?

This "termios" stuff is on this system...

~$ locate termios

There is no module to import because it is builtin.

> And for that I have no answer... anyone else have an idea?

Is your shared object (.so, .dll(?)) being shared?

- Bruce