Re: Problem using python C API

2009-01-16 Thread marcglec
Right, thx for your reply, I completely overlooked "examplemodule.so" in the building step. Maybe I should sleep more these days :) Btw, I've now an other problem with PyArg_ParseTuple but I guess it is better to post in the capi-sig mailing list. Thx again, Marc. > > On Jan 16, 2009, at 5:31 AM,

Re: Problem using python C API

2009-01-16 Thread Philip Semanchuk
On Jan 16, 2009, at 5:31 AM, shi dingan wrote: void initexample() { PyObject *m; m = Py_InitModule("example", exampleMethods); } When I try to import examplemodule, I obtain the following message: import examplemodule Traceback (most recent call last): File "", line 1, in ? ImportError: d