Clear console

128 views
Skip to first unread message

Vincent MAILLE

unread,
Mar 1, 2022, 12:52:37 PM3/1/22
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 PM3/1/22
to PyScripter
Right-click, Clear all.

Vincent MAILLE

unread,
Mar 1, 2022, 2:37:33 PM3/1/22
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 AM3/3/22
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