Pyrex - The speed of Python with the clarity of C?
Giles Brown
giles_brown at hotmail.com
Sat May 22 08:22:34 EDT 2004
SeeBelow at SeeBelow.Nut wrote in message news:<40AE9A5E.8F514E3B at shaw.ca>...
> But does this C code get compiled into machine code? If so, What
> compiler does that, and when?
The pyrex installation provides distutils extensions. This lets
you create a setup.py which compiles your .pyx files into .c files
and then your .c files into .pyd modules. It really is extremely
simple, but it does rely on having a C compiler set up that distutils
can use.
Best of luck,
Giles
More information about the Python-list
mailing list