Files
TencentOS-tiny/components/language/micropython/tests/cmdline/repl_sys_ps1_ps2.py.exp
2022-09-29 12:10:37 +08:00

11 lines
139 B
Plaintext

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