print(O.engines[5].keys())
would work.
Almost. O.engines[5].dict() will give you yade's attributes and t heir
values as dictionary. O.engines[5].dict().keys() just the attributes.
But be careful, this is yade-specific. For general usage, there is the
dir(O.engines[5]) builtin (which btw works also on modules, scopes,
classes, instances, types etc etc).
Cheers, v.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp