Forum: Poser Python Scripting


Subject: Libraries in Python3

FVerbaas opened this issue on Oct 22, 2020 ยท 8 posts


FVerbaas posted Thu, 22 October 2020 at 11:12 AM Forum Coordinator

Python 3 is now officially announced and it apparently is healthy enough to survive eating Snarley's coding.

Quesiton: which additional libraries would you like to see included apart from what we have now in Python 2? (NumPy)

Personally I would like to see:

Did I miss anything?


structure posted Thu, 22 October 2020 at 1:37 PM Forum Coordinator

I would just like pip to work so that I can install libraries as I need them.

Locked Out


FVerbaas posted Fri, 23 October 2020 at 2:45 AM Forum Coordinator

@structure: Yes, and that, for my own development work.

My question was primarily on modules a script author can assume installed on any Poser12 install. I do not want having to ask users to play around with PIP before they can use my script.


adp001 posted Fri, 23 October 2020 at 5:58 AM

If pip is installed and working, a script is able to load any required lib automatically with a few additional lines of code.

https://stackoverflow.com/a/15950647




adp001 posted Fri, 23 October 2020 at 6:15 AM

Just to have it said: Because Poser will come with Python 3.7, I'm done with Poser. I had all my scripts (mostly the non public ones used for business) rewritten to work with Python >= 3.8 for several good reasons. They won't work with 3.7 without changes.

I will start with a Poser/DAZ like interface for Blender soon (easier posing). Makes more sense for me.




FVerbaas posted Fri, 23 October 2020 at 6:20 AM Forum Coordinator

... provided the computer is connected to the network and user has admin rights.

I can imagine Poser support will have questions about what can be a potential stability loophole.


adp001 posted Fri, 23 October 2020 at 7:30 AM

A computer without the ability to connect to the internet isn't able to run Poser.

Python 3.8.0 came out a year ago and is rock stable. Current release from october 2020 is 3.9.




an0malaus posted Mon, 26 October 2020 at 1:09 AM

What's the feature of 3.8 you've used the most, @adp001? Walrus assignment, or f-strings? I can certainly understand the frustration of upgrading code to find out it's still not supported.



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.