Forum: Poser Python Scripting


Subject: "NameError: name 'False' is not defined" - I'm definitely missing something obvi

3dcheapskate opened this issue on Feb 29, 2012 ยท 4 posts


bagginsbill posted Wed, 29 February 2012 at 7:32 AM

The Boolean type was added in Python 2.3. You didn't say which version of Poser you have, but it must be one of the older ones, such as Poser 6, that use old Python interpreters.

I don't know which Poser got Python 2.3 in it, but it was probably Poser 7???

Meanwhile, it's easy to fix. Use the code fragment shown here:

http://tomayko.com/writings/TrueFalseInOldPython

Note: It helps us answer better if, when you post a question, you always say which version of Poser you're dealing with and which OS.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)