Clear console

34 views
Skip to first unread message

Vincent MAILLE

unread,
Mar 1, 2022, 12:52:37 PMMar 1
to PyScripter
Hello,

     Is there a way to clear the console in Python with PyScripter ?

Thanks,
Vincent

PyScripter

unread,
Mar 1, 2022, 12:53:27 PMMar 1
to PyScripter
Right-click, Clear all.

Vincent MAILLE

unread,
Mar 1, 2022, 2:37:33 PMMar 1
to PyScripter
Yes, but in Python, like :

import os
print(1)
os.system('cls')

if you have a real terminal window :)

Vincent

Jean-Philippe Leloup

unread,
Mar 3, 2022, 5:43:34 AMMar 3
to PyScripter
yeah, this would be a very welcome option... if it's possible 

Jean-Philippe

Reply all
Reply to author
Forward
0 new messages