Part C, Part Python Module?

Alex Martelli aleaxit at yahoo.com
Tue Feb 25 08:25:16 EST 2003


On Tuesday 25 February 2003 02:02 pm, John Abel wrote:
> Thanks for that.  It looks like the easiest way, is to have the Python
> module import the C.

You're welcome!  It's most flexible, and it's what you usually see. e.g.
socket vs _socket in the standard Python library.  In terms of EASE, 
having Python source strings embedded in your C sources isn't _hard_
either -- it IS less flexible, in that you need to recompile for every little
change etc.


Alex






More information about the Python-list mailing list