2nd Phase: Python Integration
User Interface
Repository : https://github.com/amragaey/bone101/tree/python-integration
In bone101, I created a page to run python examples (#a867565).
In the page we have the ace-editor in bone101, was supporting Javascript syntax. I added support for Python syntax (#58de4a5).
The page contains three text areas; the script code (in Python) , standard input (if user waits for some input in the program), output (prints stdout if run successfully or stderr if anything went wrong), and the run and restore buttons that will be used to start and stop the execution of the python script.
The Python Runner Script
Repository: https://github.com/amragaey/bonescript/tree/python-runner
How is the python script executed on BeagleBone?