Re: Embeding python

John Buchanan (juancho@cs.ubc.ca)
26 Mar 92 12:47 -0800

I read misc/EXTENDING (quickly) and it seems as though it is possible but
not that straight forward. What I was looking for was something that looks
as follows.

int load_python_program(char *pathname_to_python_program)
/* Or some function to initialize and load python */

int run_python_program_with_arguments(arg1 arg2 arg3.....argn)
/* call some procedure in the loaded program */

This may be far to simple, but I hope that something like this is possible.

We wish to use python in this manner since we have an application which
we have already implemented and we wish to add a programmable extension
to it.

juancho