OurBigBook About$ Donate
 Sign in Sign up

How to run a MicroPython script from a file on the Raspberry Pi Pico W from the command line?

Ciro Santilli (@cirosantilli, 37) ... Raspberry Pi Raspberry Pi Pico Raspberry Pi Pico variant Raspberry Pi Pico W Program Raspberry Pi Pico W with X Program Raspberry Pi Pico W with MicroPython
Updated 2025-07-26  0 By others on same topic  0 Discussions Create my own version
The first/only way Ciro could find was with ampy: stackoverflow.com/questions/74150782/how-to-run-a-micropython-host-script-file-on-the-raspbery-pi-pico-from-the-host/74150783#74150783 That just worked and it worked perfectly!
pipx install adafruit-ampy
ampy --port /dev/ttyACM0 run blink.py
TODO: possible with rshell?

 Ancestors (15)

  1. Program Raspberry Pi Pico W with MicroPython
  2. Program Raspberry Pi Pico W with X
  3. Raspberry Pi Pico W
  4. Raspberry Pi Pico variant
  5. Raspberry Pi Pico
  6. Raspberry Pi
  7. Raspberry Pi Foundation project
  8. Raspberry Pi Foundation
  9. Computer manufacturer
  10. Computer hardware
  11. Computer
  12. Information technology
  13. Area of technology
  14. Technology
  15.  Home

 Incoming links (2)

  • Program Raspberry Pi Pico W with MicroPython
  • Raspberry Pi Pico W UART

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook