python.microbit.org

Information about the micro:bit Python Editor

Overview

The Python Editor is a free, browser based coding environment for creating MicroPython projects with the BBC micro:bit.

Use common snippets of code, add/remove files and modules, and upload/download .hex or .py files.

The Python editor is based upon the Ace editor and includes syntax highlighting, code folding and (semi) intelligent auto-indentation.

Source

The upstream source code for the Python Editor can be found at github.com/bbcmicrobit/PythonEditor

The micro:bit target depends a closed source versioning repository that facilitates releases at /v/, for example the beta editor https://python.microbit.org/v/beta and previous releases.

Offline

It is possible to use the Python Editor offline to generate, upload and download .hex or .py files. However, refreshing the browser resets the editor.

Mu

Mu is a third party Python editor, that provides a downloadable, offline coding experience for the micro:bit and includes features such as datalogging and code debugging.

Documentation

Community

There are a variety of ways to get involved and interact: