"John Palmer" <speederpyt...@gmail.com> wrote
Modifying the subject...
And I repeat, please don't send the whole digest,
delete the excess irrelevant stuff! (see below!)
Thanks a lot for the help guys, but when I use the
getpass.getpass(Enter
your word here, I get a different response to what you get. This is
what
happen with mine:
import getpass
s = getpass.getpass("Enter your word here: ")
Warning: Password input may be echoed.
Please enter your secret word: hangman
I'm guessing that its something to do with the "Warning: Password
may be
echoed" line. In the documentation it says:
"If echo free input is unavailable getpass() falls back to printing
a
warning message to stream and reading
from sys.stdin and issuing a GetPassWarning."
What OS and terminal are you using?
It may be possible to enable echo free input...
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor