Menu

[r50]: / trunk / python / python.execfile.php  Maximize  Restore  History

Download this file

14 lines (8 with data), 249 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<?php
require_once __DIR__.'/python.eval.php';
class lang_python_execfile extends lang_python_eval {
public static function python_execfile($file) {
$code = file_get_contents($file);
static::python_eval($code,$file);
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.