alain MONTMORY a écrit :
Thank for your response :-)
I have tried (it's my first try ..) :
./TestOfficiel TestPythonFoo multiply 3 2
and i get :
[EMAIL PROTECTED] swigCallPython]$ ./TestOfficiel TestPythonFoo
multiply 3 2
ImportError: No module named TestPythonFoo
Failed to
__import__("TestPythonFoo")
and it works !!!
why this doesn't work with the api
pModule = PyImport_Import(pName);
pModule is null after the call
is there a PYTHONPATH to set or semething else...
thanks
Alain
John Machin a écrit :
alain MONTMORY wrote:
Hello eve
Hello everybody,
I am a newbie to python so I hope I am at the right place to expose my
problem. :-[
I am working on linux mandrake 10.1 with python :
python -V
Python 2.3.4
I am trying o run the example which stay in the documentation in paragraph
http://www.python.org/doc/2.4.2/ext/pure-