0

I am working on a Python IDE to be used by kids, where I have two panes: one for editing the source code, say 'a.py'; one for showing the output of 'python a.py' if one run it from a terminal. However I expect the IDE to work in system where no python installation at all. How can I achieve this?

The closest thing I found is code.InteractiveInterpreter(), but I hope there is something easier like 'eval('a.py'). Any suggestions?

user3015347
  • 503
  • 3
  • 12
  • no really. I will make my IDE standalone, but within the IDE, the user still needs to run his/her script. – user3015347 Jul 30 '19 at 21:58
  • create instalator which installs IDE and Python. – furas Jul 30 '19 at 22:01
  • `eval()` needs Python to execute it. Better install Python. – furas Jul 30 '19 at 22:01
  • You cannot run dynamic Python scripts/code without Python. Your best bet is that the IDE comes with its own Python installer or setup scripts, then runs all the codes inside its own virtual environment. – Gino Mempin Jul 30 '19 at 23:15

0 Answers0