GodotPythonJSONRPC/TestPythonInExport.gd

22 lines
482 B
GDScript3
Raw Normal View History

2024-07-14 08:54:08 -07:00
extends Node
func _ready():
var bw : KiriPythonBuildWrangler = KiriPythonBuildWrangler.new()
bw._unpack_python()
##_unpack_python()
#print(_get_runtime_python_executable_godot_path())
#print(ProjectSettings.globalize_path(_get_runtime_python_executable_godot_path()))
#
var out = []
var ret = OS.execute(
ProjectSettings.globalize_path(bw._get_runtime_python_executable_godot_path()),
["--version"], out, true)
print("Ret: ", ret)
print("Out: ", out)
pass