2010-11-03 19:26, Marcin Krol skrev:
> matplotlib:
> field.setCheckState(Qt.Checked if value else Qt.Unchecked)
> ^
> SyntaxError: invalid syntax
>
The code above is a conditional expression, and those are mentioned [0]
on the "what's new in python 2.5
Hello,
I've installed 1.0.0 on Python 2.4 (Debian Etch) and am getting just this:
Python 2.4.4 (#2, Jan 24 2010, 11:19:18)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
Illeg