REPL stands for Read Evaluate Print Loop, and is the name given to the interactive MicroPython prompt that is accessible on the SG devices. Using the REPL is by far the easiest way to test out Python code and run commands. You can use the REPL in addition to writing scripts in main.py.
main.py
The following pages will explain how to use the REPL with both Serial USB and Telnet connections.
The REPL includes the following features:
Ctrl-C
Ctrl-V
There are a number of useful shortcuts for interacting with the MicroPython REPL. See below for the key combinations;
Ctrl-A
Ctrl-B
Ctrl-D
Ctrl-E
Ctrl-F
boot.py