Fri, Apr 19, 10:17 AM CDT

Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Mar 19 1:03 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Legacy Python versions of Poser


yarp ( ) posted Thu, 12 November 2020 at 12:11 AM · edited Wed, 17 April 2024 at 7:25 PM

Hi, I have been rewriting some Python script for Poser 12. Now I would like to write more portable code and dynamically import modules using the imp module. Apparently that module is only available since Python 2.7.
So I was wondering if anybody knows what was the first Poser version running with Python 2.7 ?
Python 2.7 was released in 2010.
Thank you

Yarp - author of P3DO Organizer for Poser


bwldrd ( ) posted Thu, 12 November 2020 at 5:23 AM

I'm thinking Poser 9 / Pro 2012 (not to be confused with the new Poser 12).

--------------------------------------------------------------------------------

Consider me insane if you wish, but is your reality any better?


yarp ( ) posted Thu, 12 November 2020 at 7:39 AM

Hi bwldrd, make sense since Py 2.7 was released in 2010. Poser 8 was already a good version of Poser. I have been using PP2010 during a long time (skipped 2012) and was happy with it. How many users are still using P8 bowadays ? maybe some who went to DS and want to export Poser props from time to time. Shouldn't be a great deal to drop backward compatibility I suppose.

Yarp - author of P3DO Organizer for Poser


bwldrd ( ) posted Thu, 12 November 2020 at 7:46 AM

I missed 8 but have most of the others. Lol, I still use far back as 6 once in a while just to for some of the scripts I have that no longer work in later versions.

--------------------------------------------------------------------------------

Consider me insane if you wish, but is your reality any better?


yarp ( ) posted Thu, 12 November 2020 at 8:26 AM · edited Thu, 12 November 2020 at 8:33 AM

I see, this is an important point. In only stopped using P6 last year when I dropped my old XP computer where it was installed. I used it to test backward Python script compatibility. Yesterday somebody mailed me he was missing Semidieu's ShaderWorks in P12. So it is likely people are still using older versions of Poser to use some of those wonderfull legacy tools, like you do.
I don't really need to write that 2.7/3.0 compatible script. It is just it would be cleaner code than to have 2 identical methods except for the module name.

Yarp - author of P3DO Organizer for Poser


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.