Ben Dickson says:
That should work fine on any OS. It can be simplified a bit to: os.chdir(nuke.r oot().name().rp artition("/")[0 ]) Or better: os.chdir(os.pat h.dirname(nuke. root().name()))
View Article
More Pages to Explore .....