Re: Using python in C
Hmmn, no I wasn't linking it on the command line with gcc.
I tried the example you gave.
:\gcc pipe.c -lpython2.4
and voila!
My code is not working, but at least I can see it's getting past that darn udefined variable problem.
Now all I need to do is figure out how to print the variable in python with PyRun_SimpleString( ..... ).
Thanks.
|