--- a +++ b/trunk/phpython.php @@ -0,0 +1,21 @@ +<?php +xdebug_disable(); +ini_set('display_errors',true); +error_reporting(E_ALL); + +require_once __DIR__.'/python/python.lang.php'; + +## +class phpython { + + ## + public static function import($file) { + lang_python::python_execfile($file); + } + + ## + public static function import_once($file) { + lang_python::python_execfile($file); + } + +}