What you will learn
Python is a widely used scripting language that is integrated into NUKE to let us artists control the user interface, quickly modify many nodes and integrate with external applications. By learning some Python commands and workflows we can extend NUKE and write scripts that let us focus on creating art.
We will start this NUKE tutorial by echoing the Python commands that NUKE uses internally and begin writing our own code. From there we will learn how to correctly create nodes, set properties at node creation and have our scripts automatically run whenever NUKE starts up. From there, we can begin working on some projects, like a script that selects all nodes of a specific class based on user input and a script to automatically break a multi-channel EXR into individual auto-cropped shuffle nodes so we can begin compositing faster.