Hi all,
I'm currently migrating an application
from a windows platform to linux.
I have somewhere a module which uses
embedded python: (a python script where I want to call some functions...)
// Initialize the python
library
Py_Initialize();
PyObject *pName = PyString_FromString("RASBa
Hi,
The following script works fine when I call it from the python interpreter
but not when I call it from a c application (embedded python)
It crashes in the PyImport_Import()
import ldap
import distutils.sysconfig
def TestInit():
l = ldap.open("192.168.1.2")
l.simple_bind_s("","
?
Regards,
Geert
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Geert Van Muylem
Sent: maandag 18 december 2006 22:51
To: python-list@python.org
Subject: Crash in PyImport_Import()
Hi,
The following script works fine when I call it from the python interpreter
but