Forum: Poser Python Scripting


Subject: ___futures__ generators In Poser ProPack?

tromnek opened this issue on Dec 16, 2004 ยท 3 posts


tromnek posted Thu, 16 December 2004 at 11:19 AM

I'm using Poser5 and don't have access to ProPack's python.

I've created a class to help me easily iterate over a figure hierarchy from any body part. I have another class that iterates over a pose (pz2) file for selected actors and parameters.

They both rely on 'futures generators' in particular the 'yield' statement.

Is that supported in Poser ProPack? What version of python is in ProPack and could someone tell me the default location of the python libraries relative to Poser?

tia,
ken


ockham posted Fri, 17 December 2004 at 10:36 AM

ProPack uses 1.5 .... the base DLL is always in the same folder with Poser.exe, and the other LIBs and DLLs are always directly under runtime/python. There's no future.py module in my P4 setup, though I do see a future.py in P5.

My python page
My ShareCG freebies


tromnek posted Fri, 17 December 2004 at 10:14 PM

Thanks. Maybe I'll rewrite my objects to return a big list instead.