By Kevin McAleer, 4 Minutes
Page last updated November 24, 2026

By the end of this lesson you will be able to connect to your Pico and use the REPL to confirm which version of MicroPython and which board you are running.
The drive disappeared, which is a good sign. But a proper maker checks. The best test is to talk to MicroPython directly using the REPL, which stands for Read, Evaluate, Print, Loop. You type a line, MicroPython runs it and prints the answer, and then waits for the next line. It is like a chat with your robotβs brain.
MicroPython and then a >>> prompt.Open the Snakie IDE, connect to your board, and look in the console. The first line shows the same banner. See Connect, run, stop and The REPL and console in the Getting Started with Snakie course.
flowchart LR
A["Plug in Pico<br>(no BOOTSEL)"] --> B["Connect from<br>Thonny or Snakie"]
B --> C["Banner and >>> prompt"]
C --> D["Type a command,<br>read the answer"]
When you connect, the first line looks like this (your version number, date and board name will differ):
MicroPython v1.29.0 on <build date>; Raspberry Pi Pico 2 W with RP2350
It tells you the MicroPython version, then the board and chip the firmware was built for. If the board name there does not match the Pico on your desk, you installed the wrong file, so go back and fix it in the next lesson.
The banner scrolls away as you work. You can ask again any time with a short program. Type this into the REPL, or into the editor and run it:
import sys
print("Python version:", sys.version)
print("Board:", sys.implementation._machine)
print("MicroPython version:", sys.implementation.version)
You should see your board name, such as Raspberry Pi Pico W with RP2040, and the MicroPython version as a tuple of numbers, such as (1, 29, 0, ''). Congratulations, your Pico speaks Python!
Teachers: The REPL banner makes a lovely quick check. Ask each learner to read out the board name from their banner, so you can spot wrong-firmware installs before the rest of the lesson starts.
1 + 1 at the REPL and press Enter. Then try print("Hello, maker!").sys.implementation._machine with the board name printed on the underside of your Pico. Do they match?>>> prompt.Why: Thonny needs to select the Picoβs serial port, and it can lose it when the board restarts.
Why: Firmware is board-specific, so the banner reports what the file was built for.
Quick quiz 1 of 3
What does REPL stand for?
Quick quiz 2 of 3
What does the first line of the banner tell you?
Quick quiz 3 of 3
Which line prints the board name?
sys.implementation._machine holds the board and chip name the firmware was built for.
Comments