Tue, Nov 26, 12:14 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)

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: ok i'm gonna learn python. which version should i use?


dorkmcgork ( ) posted Fri, 27 July 2012 at 6:17 PM · edited Fri, 22 November 2024 at 2:02 PM

i have poser 2010, but i want my python to work for 2012 too.  the python page at http://wiki.python.org/moin/Python2orPython3 hasn't been updated since 2010 it seems

my python shell says 2.4.2

any recommendations?

gratzi

 

o also...will the python i install from the site change the python that poser is running under or is that version secure?

go that way really fast.
if something gets in your way
turn


PhilC ( ) posted Fri, 27 July 2012 at 6:31 PM

Poser 8/Poser Pro 2010 uses Python 2.4
Poser 9/Poser Pro 2012 uses Python 2.7

There is not a lot of difference between them. The later Poser version has some extra methods mainly to handle weight maps. If you write a script for Poser 8 it will most likely run in Poser 9 also.


Gareee ( ) posted Fri, 27 July 2012 at 6:36 PM

Burmese.

Way too many people take way too many things way too seriously.


dorkmcgork ( ) posted Fri, 27 July 2012 at 6:52 PM

thanks phil!

go that way really fast.
if something gets in your way
turn


markschum ( ) posted Sun, 29 July 2012 at 6:20 PM

you can install python without impacting Poser python at all. However the Poser methods wont work outside of poser.  


sandman_max ( ) posted Sun, 09 June 2013 at 8:41 AM

I'm working with PP2014 but I've heard that it uses the same verison of Python as PP2012.  It looks like last version of Python 2 was v2.7.5.  Is that ok?  I'm guessing I should stay away from Python 3?  At least if I want to program for Poser...


markschum ( ) posted Sun, 09 June 2013 at 3:39 PM

why run a seperate python ?  I code in notepad ++ and run from Poser.

  None of the poser methods work in a standalone python install.

Just watch using any python which is flagged in the manual as deprecated.

 

I have python 2.4, 2.7 and 3 installed and they do not conflict with each other or Poser.


sandman_max ( ) posted Sun, 09 June 2013 at 6:10 PM · edited Sun, 09 June 2013 at 6:12 PM

I just want to make sure I have the option to test syntax in a non-poser environment so I can tell whether I'm making a Python mistake or a Poser mistake.  I know at some point I'm going to start coding in either C++, C# or Perl and be banging my head on the desk trying to figure out what's wrong.  And for the learning experience.  Thanks for the info.


Fenier ( ) posted Tue, 11 June 2013 at 10:25 PM

Code that works in Python 2x may not work in Python 3, and vice versa as Python 3 was a fairly major rewrite.

Poser specific methods will not work outside of Poser, so will throw errors when used outside of a Poser enviroment.

The other languages you mention all have very specfic quirks, C# would be OK if you only plan to code on Windows, while Perl favors UNIX/Linux.   C++ can be used on either system and is commonly the lowest language a lot of code is written in such as game engines.


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.