Binding python with Godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By shavkat

Hello

I am new in Godot and Python, and struggling to bind Python code with Godot code. I have basically two separate codes:
(1) Python script which delivers a GUI
(2) Godot code, which is a simple Godot game (with some GDscript)

I would like to bind the two, so that the Godot game appears within Python script. And Python needs to communicate with Godot.
Anybody can help me in this topic?

Thanks in advance! Shavkat

Well since Gd script is almost python I would think you can just copy and paste.

Merlin1846 | 2020-01-30 19:20

it’s more complicated than that!!!
see here

patlol | 2020-02-03 19:38