There are already Python editors such as Thonny, but the BBC thought those were not good enough and released a new web-based Python editor specifically designed for the micro:bit education board targeting 11 to 14 years old pupils.
The micro:bit Python editor includes drag and drop code examples, code structure & error highlighting, auto-complete feature, a simulator to test the code before uploading it to the micro:bit board, and a Quick ideas section to help pupils get started with projects.
The BBC’s micro:bit Python editor works with both the micro:bit V1 and V2, but note the simulator shows a micro:bit V2, so if you are using the previous generation micro:bit, some code may work on the simulator but not on your micro:bit V2 board. For that reason, the BBC marked the code that only works on a micro:bit V2 with ‘V2’ in the Reference section. While the BCC is a British company and the micro:bit was initially launched to cater to UK students, the new Python editor is also available in Chinese, French, Japanese, Korean and Spanish, besides the English language.
One downside of using a web-based editor is that you can’t use it offline, so you’ll need an internet connection and a web browser. One advantage is that you can save your work in the work, and restart it from any computer provided you’ve taken your BBC micro:bit board with you. The old Python editor, which is also web-based, but with fewer features, will still be available until at least September 2023. The company also says accessories are compatible with the editor provided the accessory manufacturer has provided a Python module as a .py file which you can open as a new file in the Projects section, and then import the functions from the module into your main code.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.