What is MicroPython?

Article author
Ezra
  • Updated

MicroPython is just as easy to learn as the other programming languages but differs from them in several important respects:

  1. MicroPython is a complete reimplementation of Python 3. This includes advanced features not found in any of the other languages: basic data types (strings, integers, floating point numbers, booleans), data structures (lists, dictionaries, sets), classes, exception handling, generators and list comprehensions.

  2. MicroPython runs entirely on the micro:bit itself - no need for a compiler.

  3. MicroPython (like Python) is a dynamic language so it’s possible to work with the device interactively: enter Python code and see the device immediately respond in live coding sessions using the REPL feature.

  4. MicroPython comes with lots of exclusive features: a powerful music programming language, a speech synthesiser, built-in images and music, a local file system and a large range of ways to connect to attached devices: I2C, NeoPixel, SPI and UART.

By learning MicroPython you’re learning how to use Python - one of the world’s most popular professional programming languages. You inadvertently use Python every day when you use YouTube, Google, Facebook, Instagram, DropBox and a plethora of other online services. 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request