Import / export values to/from C program

Simon Burton simonb at NOTTHISBIT.webone.com.au
Wed Apr 14 02:49:16 EDT 2004


On Tue, 13 Apr 2004 13:47:51 -0700, Steffen Jahn wrote:

> Hi,
> 
> I stumbled across Python when trying to invoke *scripts* from C programs.
> The idea is to set up some variables in the C program, export them, run a
> Python script, and, after completion, import some variables back into the
> C program. This way, I can keep the C program very flexible for certain
> types of changes.

Check out Pyrex. It can probably do what you want (whatever that is - i'm
not quite sure.)

Simon.





More information about the Python-list mailing list