[pypy-dev] Calling PyPy interpreter from C?

Benjamin Peterson benjamin at python.org
Wed Jun 3 19:17:58 CEST 2009

2009/6/3 Bryan Buck <bbuck3898 at emailias.com>:
> Hi,
> I have a question about PyPy - I hope this mailing list is the right
> place for it, let me know if not.
> Is there any way to link PyPy's Python interpreter with a C program and
> call it from C? I'm interested in embedding the interpreter in another
> program as its scripting engine. (The reason I'm looking at PyPy instead
> of CPython is that I'd like to use the sandboxing feature.)

Not easily. The best way would probably be to run pypy in a subprocess.

> Thanks for any information you can give me.


More information about the Pypy-dev mailing list