But i have a few questions first.
sometimes I can just run this in nuke and it works:
myPyScript.myFunction()
and it works, but sometimes i need to first do a import:
import myPyScript
myPyScript.myFunction()
How come that i sometimes need to import and sometimes not?
My scripts are in a scripts folder that get’s imported thru the init.py
And the 2nd question.
when i run a script from nuke, i run this command:
myPyScript.myFunction()
but what if i’m not having a function in my script?
it seems that to only run it like this, it won’t work:
myPyScript
how come?
thankful for any help.
cheers
Post a Comment