Ask for a password with OptParse

Mariano Mara mmara at fibertel.com.ar
Tue Jul 3 18:50:28 EDT 2007


Hi everyone.
I'm building a script with optparse. One of the parameters will be a 
password.
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?

TIA,
Mariano.





More information about the Python-list mailing list