Skip to content

Port to python3 - #203

Open
John-Ao wants to merge 1 commit into
cyang-kth:masterfrom
John-Ao:master
Open

Port to python3#203
John-Ao wants to merge 1 commit into
cyang-kth:masterfrom
John-Ao:master

Conversation

@John-Ao

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

Copy link
Copy Markdown

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

@temetski

Copy link
Copy Markdown

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