diff --git a/test/demos/running code from a file/src/Main.hx b/test/demos/running code from a file/src/Main.hx index 6a3487b..04ffc98 100644 --- a/test/demos/running code from a file/src/Main.hx +++ b/test/demos/running code from a file/src/Main.hx @@ -1,14 +1,13 @@ package; import hxpy.Python; -import hxpy.Python.File; class Main { public static function main():Void { //initializes the python instance Python.initialize(); //runs code path to script file - File.runSimpleFile("script.py"); + Python.runSimpleFile("script.py"); //closes the python instance Python.finalize(); }