7 The Very High Level Layer

The functions in this chapter will let you execute Python source code given in a file or a buffer, but they will not let you interact in a more detailed way with the interpreter.

int PyRun_AnyFile (FILE *, char *)

int PyRun_SimpleString (char *)

int PyRun_SimpleFile (FILE *, char *)

int PyRun_InteractiveOne (FILE *, char *)

int PyRun_InteractiveLoop (FILE *, char *)

struct _node * PyParser_SimpleParseString (char *, int)

struct _node * PyParser_SimpleParseFile (FILE *, char *, int)

PyObject *PyRun_String (char *, int, PyObject *, PyObject *)

PyObject *PyRun_File (FILE *, char *, int, PyObject *, PyObject *)

PyObject *Py_CompileString (char *, char *, int)



guido@CNRI.Reston.Va.US