MCPcopy Create free account
hub / github.com/ipython/ipython / cls

Method cls

IPython/terminal/magics.py:200–203  ·  view source on GitHub ↗

Clear screen.

(self, s)

Source from the content-addressed store, hash-verified

198 if sys.platform == 'win32':
199 @line_magic
200 def cls(self, s):
201 """Clear screen.
202 """
203 os.system("cls")

Callers

nothing calls this directly

Calls 1

systemMethod · 0.80

Tested by

no test coverage detected