Advantages of REPL in Thonny

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
HermannSW
Posts: 197
Joined: Wed Nov 01, 2017 7:46 am
Contact:

Advantages of REPL in Thonny

Post by HermannSW » Fri Mar 12, 2021 11:55 am

Today I did use Thonny for the very first time.
First I went to Regular mode and selected execution on Raspberry Pi Pico:
https://www.raspberrypi.org/forums/view ... 6&t=306736

Without having written any script with Thonny yet, I can see two advantages over running Pico Micropython REPL with minicom or rshell repl:
  1. nice syntax coloring in "Shell" window
  2. always current display of all global variables at right side
From that posting, demo with today's daily Pico build demonstrating Thonny REPL as well as "machine.freq()":
Image
Pico-W Access Point static file webserver:
https://github.com/Hermann-SW/pico-w

Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454

webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell

Post Reply