micropython/tests/cmdline/repl_sys_ps1_ps2.py.exp

11 wiersze
136 B
Plaintext

MicroPython \.\+ version
Use \.\+
>>> # test changing ps1/ps2
>>> import sys
>>> sys.ps1 = "PS1"
PS1sys.ps2 = "PS2"
PS1(1 +
PS22)
3
PS1