0 votes

I'm trying to create a board game in Godot with AI builted in Python.
Since the last Godot Python release was a year ago, so I'm attempting to run the Python interpreter from Godot with:

var output = []
var pid = OS.execute('python', [], true, output)

which freezes the game but at least in the command line window of the editor I get this:

Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

How do I send another command to it?

in Engine by (4,169 points)
edited by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.