use another function to initial import mytest.py (this fixes python
[vuplus_dvbapp] / lib / python / python.h
index 9edc50a..f56d49b 100644 (file)
@@ -370,6 +370,7 @@ class ePython
 public:
        ePython();
        ~ePython();
+       int execFile(const char *file);
        int execute(const std::string &pythonfile, const std::string &funcname);
        static int call(ePyObject pFunc, ePyObject args);
        static ePyObject resolve(const std::string &pythonfile, const std::string &funcname);