Re: compiling python and calling it from C/C++

2007-06-08 Thread Russ
Diez B. Roggisch wrote: > Russ schrieb: > > Is it possible to compile python code into a library (on unix), then > > link to it and call it from C/C++? If so, where can I learn how. > > You can't compile python, but what you can do is create a > library-wrapping around it using elmer which will ma

Re: compiling python and calling it from C/C++

2007-06-08 Thread Szabolcs Nagy
Russ wrote: > Is it possible to compile python code into a library (on unix), then > link to it and call it from C/C++? If so, where can I learn how. > Thanks. not really but you may want to look into these: http://codespeak.net/pypy http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ http:

Re: compiling python and calling it from C/C++

2007-06-08 Thread Diez B. Roggisch
Russ schrieb: > Is it possible to compile python code into a library (on unix), then > link to it and call it from C/C++? If so, where can I learn how. You can't compile python, but what you can do is create a library-wrapping around it using elmer which will make it C-callable. http://elmer.sou

compiling python and calling it from C/C++

2007-06-07 Thread Russ
Is it possible to compile python code into a library (on unix), then link to it and call it from C/C++? If so, where can I learn how. Thanks. -- http://mail.python.org/mailman/listinfo/python-list