"John Palmer" <speederpyt...@gmail.com> wrote

Please trim your messages and not post the entire digest.

Hi Alan thanks for the help. I did try the getpass module, I think I used:

getpass.getpass()

This actually prompted the user to enter a password, which isn't really what
I want. Unless there's something i'm missing with this module?

like raw_input you can supply a prompt to getpass()

import getpass as gp
gp.getpass()
Password:
'gghg'
gp.getpass("Number?")
Number?
'hjggjkh'


HTH,


--
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

Reply via email to