Fails when trying to prompt for username
cliff-wakefield opened this issue · 3 comments
cliff-wakefield commented
$ python saml.py
Username (domain\username): wakefieldc
Traceback (most recent call last):
File "saml.py", line 54, in <module>
username = input("Username (domain\\username): ")
File "<string>", line 1, in <module>
NameError: name 'myuserid' is not defined
cliff-wakefield commented
Had to change back to
print "Username (domain\\username): ",
username = raw_input()
To make it work.
argais commented
Use Python 3.5 instead of 2.7 ;)
Fernando Battistella
On 18 Oct 2016, at 04:40, cliff-wakefield notifications@github.com wrote:
Had to change back to
print "Username (domain\username): ",
username = raw_input()
To make it work.―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
argais commented
Added note on readme about requiring python 3.5.
There are other issues with unicode on python 2.7, besides the input thing.
Unfortunately I don't have the time to track them down and fix them.