Ask for a password with OptParse

Mariano Mara mmara at fibertel.com.ar
Wed Jul 4 00:50:28 CEST 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