If you’re viewing this page from the TouchDesigner curriculum explorer, you can use the buttons below to interact with this topic.
The sky’s the limit when it comes to using Python in TouchDesigner, but where can you get started? Luckily, there’s a set of helpful Python Examples for both new and experienced users located in the Help menu. These examples cover a wide range of Python use cases, and how you can use various scripting approaches with TouchDesigner networks.
When you open the Python Examples file you’ll find examples located in Base COMPs in the network. Navigate into a Base COMP to see a collection of Python Examples for that topic. When working with Python it’s often helpful to open the Textport (
alt+t on Windows or
option+t on Mac) for debugging and viewing print statements.