input without echo back / passwords

doyen at mediaone.net doyen at mediaone.net
Tue Mar 7 02:14:12 CET 2000


Just for all you helpful people who are going to say

getpass

I've tried...      import getpass   # (works fine)

but when I execute

ps = getpass("my prompt")

I get
   pswd = getpass("OK enter the password")
TypeError: call of non-function (type module)

In desperation, without really thinking it would work, I've also tried.

 ps = getpass()
 ps.getpass()
ps = win_getpass()

doyen at mediaone.net





More information about the Python-list mailing list