Closed 104player closed 9 years ago
The code now tries to get "raw_input" (if successful (Python 2), it will write over "input" which was insecure anyways). If it fails (in Python 3), it will make Python 3's "input" available as "raw_input".
So this should work in both Python 2 and 3.
Thanks for the pull request! Looks fine. Merged. :)
The code now tries to get "raw_input" (if successful (Python 2), it will write over "input" which was insecure anyways). If it fails (in Python 3), it will make Python 3's "input" available as "raw_input".
So this should work in both Python 2 and 3.