#
2. 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 *fp, char *filename)

int `PyRun_SimpleString` (char *command)

int `PyRun_SimpleFile` (FILE *fp, char *filename)

int `PyRun_InteractiveOne` (FILE *fp, char *filename)

int `PyRun_InteractiveLoop` (FILE *fp, char *filename)

struct _node* `PyParser_SimpleParseString` (char *str, int start)

struct _node* `PyParser_SimpleParseFile` (FILE *fp, char *filename, int start)

PyObject* `PyRun_String` (char *str, int start, PyObject *globals, PyObject *locals)

PyObject* `PyRun_File` (FILE *fp, char *filename, int start, PyObject *globals, PyObject *locals)

PyObject* `Py_CompileString` (char *str, char *filename, int start)