yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01568
Re: old/new python syntax
> simple-scene-player.py updated, not simple-scene-video.py.
>
> Vaclav, could you not check qt.py, it seems there SnapshotEngine has
> an old syntax. Not sure how to fix it.
> Also simple-scene-player.py has also an old syntax.
Hi, the old syntax was
RootClass("ClassName",{'attr1':value1,'attr2':value2,...})
and the new one is (straightforward translation)
ClassName(attr1=value1,attr2=value2,...)
Thanks for your work on that, I will fix qt.py.
Vaclav
References