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