GodotPythonJSONRPC/TestPythonInExport.gd
2024-07-14 12:58:20 -07:00

14 lines
337 B
GDScript

extends Node
func _ready():
var pw : KiriPythonWrapperInstance = KiriPythonWrapperInstance.new(
"/storage/git2/GodotJSONRPCTest/addons/KiriPythonRPCWrapper/KiriPythonRPCWrapper/test_module/__init__.py")
pw.setup_python()
pw.start_process()
var ret = pw.call_rpc_sync("func_to_call", ["test string whatever blah"])
print(ret)