nuke.saveToScript

nuke.saveToScript(filename, fileContent) None

Saves the fileContent with the given filename.