Python uses import, and reload. Sooo, if your script 'myScript.py' is in your scripts path you need to import it: import myScript
then call a function in the script: myScript.myFunc() If you're editing scripts, you need to reload them to get any changes. Hope that helps, Cheers On Mon, Nov 3, 2008 at 6:42 PM, Beau Garcia <[EMAIL PROTECTED]> wrote: > Hi, > Sorry to ask such a basic question, but basically i want to source and run > a externally stored python script. Similarly to using "source melScript.mel; > melScript;" commands in Mel. Ive tried doing this by saving the .py file as > the same name as the main function used and then placing it in a scripts > folder. Then after re-loading maya, I tried to run the function name , but > no luck. Any help would be great. Thanks > > Beau > > > > --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
