May I suggest you ask in the blender list?
Will do that and report back. Thank you!
Manuel
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I need to parse xml files for the Blender Game Engine. ATM I am trying
to get this script running in the BGE. This is my first script and I
dont have much experience programming...
import xml.sax
class PnmlHandler(xml.sax.ContentHandler):
def __init__(self):
self.inPlace=0
Hello,
but when I copy the script into blender and run it I get:
[code]Compiled with Python version 2.5.
Checking for installed Python... got it!
Traceback (most recent call last):
File Text, line 27, in module
File H:\Python25\lib\xml\sax\__init__.py, line 93, in make_parser
On Jul 14, 8:14 pm, Miki [EMAIL PROTECTED] wrote:
Python is using an external library for SAX (expat IIRC).
I *guess* the Python that comes with Blender don't have this library.
I don't know... I didnt install any external libraries for sax. I
think python comes with a standard sax library.
Hello,
Could it be that I have to install the same python version Blender was
compiled with?
I have no idea.
May I suggest you ask in the blender list?
HTH,
--
Miki [EMAIL PROTECTED]
http://pythonwise.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list