

It will erase the micro:bit and install the MicroPython interpreter. Use this command the first time you use MicroPython. Upload your files to the micro:bit using the command micro:bit-python: Flash sketch on micro:bit.įeatures in details Flash MicroPython environment on micro:bit.To start, choose the hello-world sample code.

#Visual studio for mac run python how to
You will see the following list.Įach feature is explained in the sections below.įor a video tutorial of how to use this extension, please refer to this link. To see the commands for the extension, use the command palette ( Windows / Linux: CTRL + Shitf + P, Mac: ⌘ + Shift + P) and search for micro:bit-python. It allows to initialize a project with an optional template example, to upload a python sketch (terminology borrowed from Processing) on the micro:bit, or to remove/get files from the micro:bit file system. This extension provides a self-contained developing environment for developing with MicroPython using the micro:bit platform.
