MicroPython is a C-written programming language implementation that is designed to operate on microcontrollers and is substantially compatible with Python 3.
A runtime interpreter of that bytecode plus a Python compiler to bytecode make up MicroPython. An interactive prompt (the REPL) is shown to the user so they may run any supported commands right away. A number of the basic Python libraries are included, and MicroPython has modules that provide programmers access to low-level hardware.
# print to serial console
print('Hello, World!')
import os
# open and read a file
with open('/readme.txt') as f:
print(f.read())
```