Open John-Ao opened 2 years ago
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.
Now it can be used in python3 (but not python2).