
== is something that only works in eyeonscript and passes on to dump. This is not even Lua.
I am pretty sure this was documented on vfxpedia, and I am almost certain this is documented in the Generation scripting docs

For python you always need to print or better print() = Python3.x ready.
However if you want all the pretty dump formatting use prettyprint:
- Code: Select all
import pprint
pprint.pprint(comp.GetAttrs())
However THIS IS A BUG:
- Code: Select all
from pprint import pprint
print(type(pprint))
<type 'module'> # No, it should import the function. Compare to a python console.
from pprint import pprint as pp
pp # Undefined