Why is the MicroPython implementation on the website Python editor and the Mu editor different from each other?
Why is the MicroPython implementation on the website Python editor and the "old" Python editor different from each other?
Code that runs fine in Mu does not work on the online MicroPython editor.
Code that runs fine on the online MicroPython editor does not run on Mu.
I get an error message when I run code in MicroPython.
The MicroPython editor hosted on the http://python.microbit.org website follows a different update cycle to the Mu editor.
Both MicroPython on the website, and the Mu editor have a version of the MicroPython .hex file embedded inside them, and the version in use will be the version that was current when the editor was released.
Mu, available from http://codewith.mu, is maintained and updated on a faster development cycle by the Python community, so new changes and additions to the API will appear quicker in that editor.
The web hosted MicroPython editor at http://python.microbit.org is updated on a slower development cycle, so compared to Mu it may be lacking some of the newer, more up to date features.
The website also contains a link to the "old editors" in http://microbit.org/code/. These are the editors launched by the BBC at www.microbit.co.uk, and this Python editor contains an even older version of MicroPython.
The online and Mu editors source code is open source and can be found here: