Skip to content
Garrett Berg edited this page May 7, 2015 · 4 revisions

About Micropython

MicroPython is a Python interpreter (with partial native code compilation feature). It provides subset of Python 3.4 features, implemented for embedded processors and constrained systems.

This means that micropython is very close to python, but is missing a few of the features.

Learning python

Python is an easy to learn, well documented programming language. Learning python is the first step to learning micropython. It is recommended that you learn python 3.4 or greater, since that is the version that micropython is based off of.

Tutorials:

Diving into micro-python

Now that you have learned the basics of python, it is important to review the Differences to CPython wiki page. Micropython supports surprisingly large part of the python language including numeric types, strings, tuples, lists, dictionaries, classes (with inheritance) and many more. However, it's "batteries included" philosophy is reduced in order to keep everything small, with the standard library modules being supported in micropython-lib

You can start out with either linux or the pyboard. If you don't have the pyboard, it is easy to get started on linux machines. You can also try out the pyboard online

For more documentation and guides, check out the official pyboard documentation

Clone this wiki locally