Scripting with Python

Python workflow:

1. Enter Python statements in Katana’s Python tab to perform the required actions.

2. Save your script with the extension .py in a directory that is contained in the sys.path variable.

3. Later, when you want to execute the same statement sequence, import the .py file into Katana’s Python tab again. Katana executes the statements in the specified order.

For more information on the Python tab, see Using the Python Tab, or for detailed information on the Python API click Help > API Reference > Python APIs within the application.

Python on the Web

To read more about Python, check out its documentation, or interact with other Python users. Visit the Python programming language official website at