Hi.

I wrote a script using pyAlembic that I can use to parse a file and list
contents etc. I am not sure how to execute the external script from within
maya, with an argument (path) and return a list that is generated from the
script.

I have read up on python's subprocess module and  os.popen but I'm a little
confused by the application. (I dont have a programming background)  Is
there another way to return a value? It seems pretty complicated for what
*seems* to be a basic requirement.

Tried looking for examples online but coming up short. Can anyone point me
to either a python-For-Dummies-level explanation, an example or even
mention if subprocess is the way to go?

Thanks
Gerard.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CADKA4Cppr%3DyctnB-cvGLVLmQaucRq8KM6AHJ54jfwmHioANwfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to