Ask for a password with OptParse

Mariano Mara mmara at
Wed Jul 4 00:50:28 CEST 2007

Hi everyone.
I'm building a script with optparse. One of the parameters will be a 
How can I code the optparse to accept/handle/format the password so that 
the user does not have to write it in plain/visible text in the terminal?


More information about the Python-list mailing list