Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ _term_clear
Function
_term_clear
IPython/utils/terminal.py:26–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
25
if
os.name ==
'posix'
:
26
def
_term_clear():
27
os.system(
'clear'
)
28
elif
sys.platform ==
'win32'
:
29
def
_term_clear():
30
os.system(
'cls'
)
Callers
1
pre_cmd
Method · 0.90
Calls
1
system
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…