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

Does not work with Python 3 #4

Open
einhverfr opened this issue Aug 6, 2020 · 0 comments
Open

Does not work with Python 3 #4

einhverfr opened this issue Aug 6, 2020 · 0 comments

Comments

@einhverfr
Copy link

Python 2 is end of life and will be phased out on new systems over the upcoming while. It would be good to ensure this is safe with Python3.

I would recommend prefixing the modules with:
from __future__ import print_function

And then ensuring that calls to print use the Python3 syntax. This would then allow the code to run on 3 and 2 at the same time. My quick reading did not see any other concerning areas regarding division or unicode literals.

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

No branches or pull requests

1 participant