>> You might find the getpass module useful for that...
>> It provides a raw_input style prompt that doesn't
>> display what the user types...

> Does it display stars instead?

No, its more secure than that, it doesn't display anything.

But like anything in Python the esiest way to find out 
is just to try it at the >>> prompt.

>>> import getpass
>>> pw = getpass.getpass('Password: ')
Password:
>>> print pw
mysecret
>>>

HTH

Alan G
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to