How do I clear the screen in the IronPython console?

When we are working with a regular Windows command prompt, we can clear the screen by typing the command cls

.

How can I do the same in IronPython console (ipy)?

+2


source to share


3 answers


import System.Console
System.Console.Clear()

      



+3


source


Use !

to run shell commands:



!clear 
!cls

      

+2


source


Use this command to clear the screen:

reset

      

0


source







All Articles