I got the python.h file but i am getting linking errors for my program....

On Jan 20, 2008 1:18 AM, Varsha Purohit <[EMAIL PROTECTED]> wrote:

> Hi,
>    I just read about how to call python from a c program. This is the
> function for that
>
> int main()
> {
>      Py_Initialize();
>     PyRun_SampleString("print 76");
>     Py_Finalize();
>
>     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




-- 
Varsha Purohit,
Graduate Student
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to