Natron Python FAQ

Here are a few frequently asked questions.

There may be more answers in the Natron forum, especially in the All About Natron Python Scripting topic.

Q: How can I get the location of the current Natron executable?

import sys
print(sys.executable)

Q: How can I get all widgets from a modal dialog?

PyModalDialog inherits from Qdialog, which inherits from QObject, which has a QObject::children() method.