QCustomPlot-PyQt5 icon indicating copy to clipboard operation
QCustomPlot-PyQt5 copied to clipboard

Syntax error in example1.py

Open mkatliar opened this issue 8 years ago • 0 comments

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

mkatliar avatar Aug 15 '17 13:08 mkatliar