Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- node = nuke.createNode('NoOp')
- node.addKnob(nuke.PyScript_Knob("script","script",'''def printer(string):
- print string
- printer("hello123")'''))
- #Then execute the function
- node['script'].execute()
Advertisement
Add Comment
Please, Sign In to add comment