import sys if nuke.NUKE_VERSION_STRING.startswith('9'): nuke.pluginAddPath('./9.0') # relative path sys.path.append('D:/myOtherPythonModulePath') # abs path