Fail import with SWIG generated imp.load_module ?

2010-12-14 Thread Hvidberg, Martin
I'm trying to load a module GDAL into a Python script. The loader/binder that is then called, seems to be generated by SWIG, a project with which I'm unfortunately not familiar. The part of the SWIG generated code that fails on me is as follow: -- start code snip 1 - # This file

Re.: reading xml from python - Sum-up

2010-05-12 Thread Hvidberg, Martin
s email is made of 100% recycled bytes ... ____ From: Hvidberg, Martin Sent: Tuesday, May 11, 2010 2:54 PM To: 'python-list@python.org' Subject: reading xml from python I'm looking for at way to read (and later write) small simple .xml file from Python.

reading xml from python

2010-05-11 Thread Hvidberg, Martin
I'm looking for at way to read (and later write) small simple .xml file from Python. e.g. I would like to read the following from a small ini.xml file into a dictionary. default False False UBMlight True I would prefer a relative simple (not too much creating new classes) way to do thi