Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use raw_input to be compatible with python2 #7

Open
Sumukh opened this issue Nov 13, 2015 · 2 comments
Open

Use raw_input to be compatible with python2 #7

Sumukh opened this issue Nov 13, 2015 · 2 comments
Labels
Milestone

Comments

@Sumukh
Copy link
Member

Sumukh commented Nov 13, 2015

We use input in our program for use with python3 - but we can make this compatible with python2 by doing this first.

# Fix Python 2.x.
try: input = raw_input
except NameError: pass
@Sumukh Sumukh added the bug label Nov 13, 2015
@Sumukh Sumukh added this to the Remove Bugs milestone Nov 14, 2015
@mud13
Copy link

mud13 commented Nov 14, 2015

Working on this

1 similar comment
@peterqiu1997
Copy link

Working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants