[python-win32] python procedure in maya
Tim Roberts
timr at probo.com
Wed Jun 11 18:55:12 CEST 2008
kNish wrote:
> Hi,
>
> 1) how do I source a python script thru MEL.
>
> 2) Execute a python script thru MEL
>
> (python("");)
This is not a PyWin32 question. You need to find a Maya mailing list.
There appear to be a lot of good resources on Google.
A few minutes with Google seems to show that the "pySource" command in
MEL executes a Python file, or you can execute short snippet by saying:
py "print 'Hello!' "
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list