Thu, Jan 23, 10:43 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 22 9:27 pm)



Subject: What is the python script editor default???


LarryWheeler ( ) posted Sun, 16 February 2014 at 7:09 AM · edited Thu, 23 January 2025 at 6:19 AM

Does the python editor have a default option...What should it be set to for the best result?


grichter ( ) posted Sun, 16 February 2014 at 8:00 AM

I assume you are talking in the poser preferences?

I left it blank for years. Then added my favorite text editor and can't tell the difference when creating-editing scripts I have made. (OSX PP2014 currently)

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"


Cage ( ) posted Mon, 17 February 2014 at 12:28 PM

I think it defaults to whatever program you have set up to open text files on your system.  Personally, I would like to know how to get it to open Idle or some other native Python script editor.  Idle is hidden away somewhere and not accessed like other programs, for this sort of thing....  :unsure:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


ironsoul ( ) posted Mon, 17 February 2014 at 1:49 PM

Seems to be flawed in Windows at least, set it to Komodo Edit and tried to open one of the python text files and it fell flat on its face because it doesn't like spaces in directory name (yep its only been 20 years since spaces have been allowed in DOS/Windows directories,guess too soon for it to be supported). Editing the poser ini didn't work. Possibly leaving it blank and associating py file extension with the editor might work better but I've kind of lost interest in hunting down all functions Microsoft have hidden in W7 and W8 that were easily available in XP.



PhilC ( ) posted Tue, 18 February 2014 at 9:14 AM

In addition to Poser I have a stand alone Python installation. I edit in IDLE.

C:Python27Libidlelibidle.pyw

Poser has both idle.py and idle.pyw is the same relative location.

Just tried to run that within Poser and it balked. Suggest the stand alone method works best.


Cage ( ) posted Tue, 18 February 2014 at 10:12 AM · edited Tue, 18 February 2014 at 10:26 AM

The .pyw works, for Idle!  :woot:  I have a glaring unfamiliarity with the .pyw format.  If a lack of familiarity can glare.  :unsure:  Never seen the type before.  Huh.

Poser Pro 2014 will only allow one to browse for a .exe file, when attempting to set the Python editor in the user preferences, on Wndows.  I had to edit the Poser.ini, in order to set up Idle.

PYTHON_EDITOR_PATH "C:Python27Libidlelibidle.pyw"

(I note that we apparently can no longer post text on Rosity in code brackets.  Feh.  We can certainly format text with plenty of color options, however....  :unsure:)

When I open Idle from within Poser, however, I get the correct Idle window, plus two extra instances of Idle.  One is named "Pro" and the other is just "Python Shell".  These are irritating, but can simply be closed.

Whoa.  Make that four extra Idle windows, and I don't remember the names of the last two.  Might have been "Poser" and "Micro".  Kind of goofy.  Don't like that it does this.  Hmm.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


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.