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

Port to python3 #203

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Port to python3 #203

wants to merge 1 commit into from

Conversation

John-Ao
Copy link

@John-Ao John-Ao commented Aug 7, 2021

Now it can be used in python3 (but not python2).

@temetski
Copy link

To maintain python 2 compatibility, maybe you can use

from __future__ import print_function

This allows python 2 to use the print function with parentheses, while maintaining compatibility with python 3 syntax.

I'm not sure if the changes to CMakeLists.txt matter for python 2 compatibility though, will also check.

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

Successfully merging this pull request may close these issues.

2 participants