I want to clear the screen time to time using function in Pycharm. When I tried to run the commands continuously, the screen gets full and seems clumsy.
I've tried the following commands used for CMD Mode and it is not working with Pycharm.
def clear():
os.system('cls')