Logo Search packages:      
Sourcecode: adonthell version File versions  Download package

void python::exec_string ( char *  s  )  [static]

Execute Python statements contained in a string.

Parameters:
s string containing Python statements to execute.

Definition at line 75 of file python_class.cc.

Referenced by config::parse_arguments().

{
    PyRun_SimpleString(s);
}


Generated by  Doxygen 1.6.0   Back to index