mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
This improves REPL usage consistency across ports, by utilizing the pyexec code for the unix REPL. Only enabled when MICROPY_USE_READLINE == 1 (the default). Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
11 lines
163 B
Plaintext
11 lines
163 B
Plaintext
MicroPython \.\+ version
|
|
Type "help()" for more information.
|
|
>>> # test changing ps1/ps2
|
|
>>> import sys
|
|
>>> sys.ps1 = "PS1"
|
|
PS1sys.ps2 = "PS2"
|
|
PS1(1 +
|
|
PS22)
|
|
3
|
|
PS1
|