Embedding with Pyrex (was: Another Pyrex Question)

Mike Rovner mike at bindkey.com
Mon Mar 17 18:29:50 CET 2003


"François Pinard" <pinard at iro.umontreal.ca> wrote in message
news:oqu1e4u1sq.fsf at titan.progiciels-bpi.ca...

> One nice possibility of Pyrex, which is not documented enough in my
opinion,
> is its capabilities for embedding Python within what would otherwise be a
> pure C application.  I sometimes abuse this feature to static link in view
> of `gdb' debugging, by writing the main() and test() functions directly in
> Pyrex -- could have been C just as well! -- and through some Makefile
magic.

Never thought of that possibility. Can you provide a small example
application?
I on my side will try to put it as pre-doc in python wiki.

WBR,
Mike








More information about the Python-list mailing list