Sorry, jumping in on this thread a couple days late... Steven's suggestion is how I figured out a similar problem recently. If you're executing the code through a windows command line, you might be getting the carriage-return character returned to the program (this behavior doesn't happen in IDLE). Remove it by using rstrip like so:
password = input("Enter your password: ").rstrip('\r') Jeremy
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor