Forum: Poser Python Scripting


Subject: Multiprocessing possible?

colorcurvature opened this issue on Mar 24, 2013 · 7 posts


bagginsbill posted Mon, 25 March 2013 at 4:43 PM

Quote - How is it decided whether it is a pure python subprocess?

What I mean is, are you doing "import poser", or calling methods of Poser objects, such as actor methods? If so, this is Poser python and cannot be executed in the pure python (python.exe) interpreter - such objects do not exist in pure Python. In such case, you can only do your work while being interpreted inside Poser. This would mean single process for your Python code.

Quote - But then there is the 32/64 win/mac problem again. Or can the boost solve this?

boost::python is cross platform - win/mac/linux - it's great. Of course the build steps are different, but the source code is identical. You write the C++ once and any difference in OS can be hidden in boost for C++. For example, if you're dealing with pipes or files or sockets, etc. You also do not care about 32/64 - that is just a matter of compiler flags. Everything is taken care of for you.

 

 

 


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)