0x25.2 Python for (Nuke) Compers - CLI part 2 - Parameters!

Опубликовано: 05 Февраль 2025
на канале: Anthony Tan
605
15

Assuming you followed the last vid, you're now wondering about feeding in command line parameters so you can write 1 script, 1 python file, and then just merrily kick on with arguments.

00:00 argv - feeding a script with fish, chips, unicorns and chicken
05:00 Mucking around and controlling the nuke template, from arguments!
08:10 Oops.
10:20 Why we save out a script and render from it
14:00 And this is why we name things precisely in the template

Please for the love of all that is sane, use argparse. Do NOT roll your own! https://docs.python.org/3/library/arg...

https://learn.foundry.com/nuke/conten...