[Tutor] [tutor] Calling python from a c program
varsha.purohit at gmail.com
Sun Jan 20 10:33:20 CET 2008
I got the python.h file but i am getting linking errors for my program....
On Jan 20, 2008 1:18 AM, Varsha Purohit <varsha.purohit at gmail.com> wrote:
> I just read about how to call python from a c program. This is the
> function for that
> int main()
> PyRun_SampleString("print 76");
> return 0;
> But i am getting an error of header file. python.h not found. Can anybody
> tell me where can i get this header file ?? And how can i call the python
> interpreter screen from c program ??
> Varsha Purohit,
> Graduate Student
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor