Thu, Jan 9, 5:21 PM 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 Dec 02 3:16 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: Load an external program from Python?


layingback ( ) posted Sat, 15 November 2003 at 2:23 PM · edited Fri, 26 July 2024 at 9:38 PM

New to Python, so perhaps one of the experts here can point me to a command in Poser Python to load an external (Windows OS) task? Poked around a bit, but not been able to track down the method. Thx.


stewer ( ) posted Sun, 16 November 2003 at 10:14 AM

Attached Link: http://www.python.org/doc/2.2/lib/os-process.html

You can use os.spawnv() to launch an external application in a separate thread, os.execv() to run the command in the same thread (making your script an Poser wait until the command finishes). You can read details about it in the Python documentation, see the link.


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.