getpass.getpass() extra <CR>

doyen at mediaone.net doyen at mediaone.net
Mon Mar 6 22:10:18 EST 2000


after calling
pswd = getpass.getpass('enter password')

the next x = raw_input('prompt') is skipped as if getpass supplied an
extra <cr> in the input buffer. My workaround is just to add

dummy = raw_input('Thank you')

but I'd like to know what I'm doing wrong.

doyen at mediaone.net





More information about the Python-list mailing list