Forum: Poser Python Scripting


Subject: Simple Python Editing....

evilded777 opened this issue on Mar 16, 2003 ยท 4 posts


ockham posted Sun, 16 March 2003 at 10:48 AM

That null character error has something to do with Python's insistence on compiling everything into a PYC file. I haven't seen it on the MainButtons, but I have seen it on more complicated files. Try using a different editor for MainButtons.py, and be sure the editor is set for pure ASCII (unformatted) text. Notepad is good for that purpose. If you're going to do a significant amount of Python writing, you should get a "programmer's editor" like Kedit or Codewright.

My python page
My ShareCG freebies