From: Nitro <ni...@dr...> - 2008-01-30 00:05:54
|
> void initTAP_ext(void) > { > PyObject* module; > PyObject* package =3D Py_InitModule("TAP_ext", noMethods); > if(!package) return; > > /* add package attributes, if any */ > /*PyModule_AddStringConstant(package, "foo", "bar");*/ > ... Isn't it easier to put something like import check_receptors impotr ... into the __init__.py of your package? -Matthias |