November 24th, 2003, 03:32 PM
Believe it or not, no catch that i can see
.. tested and retested.. as long as you don't run though IDLE (which gives you a warning message) you wont see anything user enters! Kinda an invisable version of raw_input(), and very cross platform!
A lil example, but too basic to be of any real use though!
passwd = getpass.getpass('enter your password')
raw_input('Press ENTER to show the password..')
raw_input('Press ENTER to exit..')
Nicely spotted Perc
programming language development: www.netytan.com – Hula