Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ cls
Method
cls
IPython/terminal/magics.py:211–214 ·
view source on GitHub ↗
Clear screen.
(self, s)
Source
from the content-addressed store, hash-verified
209
if
sys.platform ==
'win32'
:
210
@line_magic
211
def
cls(self, s):
212
""
"Clear screen.
213
""
"
214
os.system(
"cls"
)
Callers
nothing calls this directly
Calls
1
system
Method · 0.80
Tested by
no test coverage detected