This is the vv1.21.0 version of the MicroPython documentation. The latest development version of this page may be more current.

MicroPython language and implementation

MicroPython aims to implement the Python 3.4 standard (with selected features from later versions) with respect to language syntax, and most of the features of MicroPython are identical to those described by the “Language Reference” documentation at docs.python.org.

The MicroPython standard library is described in the corresponding chapter. The MicroPython differences from CPython chapter describes differences between MicroPython and CPython (which mostly concern standard library and types, but also some language-level features).

This chapter describes features and peculiarities of MicroPython implementation and the best practices to use them.