masood shaik writes:
> Hi
>
> I am trying to call python function from c code.The following
> program i got from the web source while i am trying to run this
> program it throws an segmentation fault.
Yes, the call to PyImport_Import fails and returns a NULL. You could use
the more complete ex
Am 16.10.2011 10:03, schrieb masood shaik:
I am trying to call python function from c code.The following
program i got from the web source while i am trying to run this
program it throws an segmentation fault.
Try checking what functions returns instead of blindly using it.
Use a debugger to fi
Hi
I am trying to call python function from c code.The following
program i got from the web source while i am trying to run this
program it throws an segmentation fault.I am working on Ubuntu 10.10
version.Can anyone guide me please
The following program
call_function.c
// call_function.c - A