pypge icon indicating copy to clipboard operation
pypge copied to clipboard

Jupyter notebook Python2/Python3 clash

Open arendsee opened this issue 8 years ago • 1 comments

The SimplePendulum Jupyter notebook is specified as a Python3 program, but one of its dependencies, the benchmark/diffeq.py file, appears to be written in Python2.

The first code block does not compile, giving the error message:

File "/usr/lib/python3.5/site-packages/pypge/benchmarks/diffeq.py", line 25 print e ^ SyntaxError: Missing parentheses in call to 'print'

arendsee avatar Mar 31 '16 21:03 arendsee