Searched refs:pyfile (Results 1 – 2 of 2) sorted by relevance
115 PyObject *pyfile = PyFile_FromString(f, const_cast<char*>("r")); in exec_file() local116 if (!pyfile) throw std::invalid_argument(std::string(f) + " : no such file"); in exec_file()117 python::handle<> file(pyfile); in exec_file()
358 def pymap(name,map,pyfile,encodingname,comments=1): argument361 with open(pyfile,'w') as f: