use another function to initial import mytest.py (this fixes python
[enigma2.git] / lib / python / python.h
index 9edc50ada9dec481dd22967db3d501b2f5c0e400..f56d49bbc489c311c1ab1239c01d11a2ec9d730a 100644 (file)
@@ -370,6 +370,7 @@ class ePython
 public:
        ePython();
        ~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);
        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);