This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
circuitpython
/
tests
/
cmdline
/
repl_sys_ps1_ps2.py
7 lines
75 B
Python
Raw
Normal View
History
Unescape
Escape
py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. This allows customising the REPL prompt strings. Signed-off-by: Damien George <damien@micropython.org>
2021-07-27 00:43:35 +10:00
# test changing ps1/ps2
remove last uses of 'u' prefix
2023-08-22 11:15:46 -04:00
import
sys
sys
.
ps1
=
"
PS1
"
sys
.
ps2
=
"
PS2
"
py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. This allows customising the REPL prompt strings. Signed-off-by: Damien George <damien@micropython.org>
2021-07-27 00:43:35 +10:00
(
1
+
2
)
Reference in New Issue
Copy Permalink