import nuke n = nuke.createNode("Constant") print(n)