dimv36 / QCustomPlot-PyQt5

Bindings for graphics lib QCustomPlot for PyQt5
MIT License
41 stars 27 forks source link

Syntax error in example1.py #3

Open mkatliar opened 7 years ago

mkatliar commented 7 years ago

Run command:

examples$ python2 example1.py

Output:

  File "example1.py", line 76
    sys.exit(app.exec())
                    ^
SyntaxError: invalid syntax

Probably the error occurs because exec is a keyword in python: https://docs.python.org/2.7/reference/simple_stmts.html#exec

Python 2.7.13