The chosen solution was posted by kent... he said getpass.getpass().
 
As far as a "sample" password... how do I display something I was asking how to hide? =P
 
>>> Enter Password: "nothing seen here" =D

 
On 9/14/06, Tiago Saboga <[EMAIL PROTECTED]> wrote:
Em Quarta 13 Setembro 2006 21:55, Chris Hengge escreveu:
> nevermind.. figured it out.. Thanks.

Hi Chris,

It's not just for you, but I'd like to make a comment. When you write to this
list, remember that other people read your questions too, and may be
interested in the answers. By the way, I've learned a lot here just by
reading the q&a. But if we want it to be really useful to everybody, we
should try to post good questions (in your case, it was ok, but it could be
better: you could have given the example of the password in the first mail)
*and* post the choosen solution.

Thanks!

Tiago.


>
> On Wed, 2006-09-13 at 19:48 -0400, Kent Johnson wrote:
> > Chris Hengge wrote:
> > > I need either a way to mask the input from a console, or a method to
> > > not display the typed characters to the screen. Someone point me in the
> > > right direction?
> >
> > getpass.getpass() ?
> >
> > Kent
> >
> > _______________________________________________
> > Tutor maillist  -  Tutor@python.org
> > http://mail.python.org/mailman/listinfo/tutor
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to