C extensions to Python...how?

Gordon McMillan gmcm at hypernet.com
Tue Mar 21 16:25:57 EST 2000


Norm wrote:

> I'd like to learn a bit more about extending Python with C. I'm using
> NT4.0 on an Intel platform. (Python newbie here, so please "Dick and
> Jane" any responses)
...
> #include "c;\python\include\Python.h"   // per the book

What book would have crap like that in it??
Set your include dirs (the -I directive) to c:\python\include
and 
#include "Python.h"


- Gordon




More information about the Python-list mailing list