SolarOS 4.13.4 manual · app
python
Embedded MicroPython runtime. It can run an interactive REPL, .py scripts, or .mpy files from storage. Python scripts can use SolarOS service bindings when the selected firmware includes the corresponding packages. Foreground scripts can consume touch coordinates, relative mouse motion, buttons, and joystick axes through solaros.input.
Usage:
python
python file.py [args...]
python file.mpy [args...]
Controls:
exit([code])returns from the REPL or script and reports the optional exit- App-exit key interrupts running code or exits.
code to the launching shell.