A new Python Editor for micro:bit #microbit #Python @microbit_edu

The Micro:bit Educational Foundation has recently released a beta version of the new micro:bit Python Editor.


The new editor has been built from the ground-up with classroom use in mind. It aims to make text-based coding more accessible to students who may find it hard to engage with the subject by removing known barriers to learning. It’s also designed to make computer science appeal to more diverse cohorts and hence expand their horizons.

📖 Browse working code samples and code reference
Starting out in text-based programming, it can be hard for students to know what to type.

The Reference section enables students to explore, drag and drop examples of working code into the editor and use them straight away. This fosters independent and creative learning by making it easy to learn discover and use micro:bit features and core computing concepts like loops, variables and selection.

Intelligent Auto-complete
The auto-complete function gives you valid options as you type, to prompt you with possibilities and remove the need to remember the exact syntax of each command.

⚠️ Error detection
The editor also flags up potential errors such as variables or functions that have not been defined, or code that is unreachable. This can help spot simple typing errors before flashing code to a micro:bit.

🧱 Code structure highlighting
Teachers say that Python’s indentations can be a barrier to successful coding. So, they’ve added subtle line and color highlighting to show where code should line up and help teachers and their students de-bug code.

A bright, attractive user interface
The Foundation aims to make text-based coding more appealing to more young people, so the editor is bright and colorful. Line numbers are clearly displayed and you can make the text as large as you need for showing to your whole class.

⌨️ Serial console
They’ve put a serial console into the editor so you can do more traditional Python coding using your keyboard input and printing to the screen. Your BBC micro:bit becomes a real, tiny physical Python computer you can program and hold in your hand!

You can also use the serial console to read any Python error messages that scroll across the micro:bit’s display, making it easier to debug ‘runtime’ errors.

🌍 Localisation
Python is used worldwide, so educational content will be translated into different languages. The beta editor is already available in French – switch language by clicking on the cog in the sidebar.

Learn more
Our knowledgebase support.microbit.org is continually being updated with guidance on using the new micro:bit Python Editor. Find out more about how to navigate the editor and how the features work.

Help improve the editor
Help us test and improve the new micro:bit Python editor by using it with your students. You can use the feedback button in the editor or reach out to the Foundation via [email protected].

Share your experience in the user research study

The Foundation would like teachers to help them test and improve the new micro:bit Python editor by using it with students and help shape the future of learning text-based coding with the creativity of physical computing.

If you are a teacher and are interested in teaching Python with the BBC micro:bit, they would welcome your feedback. Fill out our short form to apply to join the user study.

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org

Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.