I want to write a script in python but everytime I do so it always gives me an error. I followed everything but an error persists. Is there any solution to this?
Develop games in your browser. Powerful, performant & highly capable.
This might help: http://sourceforge.net/apps/mediawiki/construct/index.php?title=Python_Scripting
I got it to work. How can you make these functions print() and input() to work. I got no other idea for this.
Sorry, not a Python user myself so I wouldn't know
You can redirect print() to output to an editbox by running this script at the start of the layout:
class output(object): def write(self, message): EditBox.AppendText(message) sys.stdout = output()[/code:17j2ia61] Input could be done similarly but it's more complicated since you need a way to get input. AKA no simple solution exists.