On 12月9日, 下午2时01分, "Chris Rebert" <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 8, 2008 at 9:53 PM, RP <[EMAIL PROTECTED]> wrote:
> > Hello All,
>
> > This is my first REAL post(question) to Python-List. I know I can take input
> > from a user with raw_input()
> > How do I take password input in console? Any Help would be Greatly
> > Appreciated. Thank You. RP
>
> You use the appropriately-named `getpass` 
> module:http://docs.python.org/library/getpass.html
>
> Cheers,
> Chris
>
> --
> Follow the path of the Iguana...http://rebertia.com

you can use getpass()
import getpass
passwd = getpass.getpass()

-------
>>> import getpass
>>> passwd = getpass.getpass()
Password:
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to