Clear screen in python interactive shell mode

Here is how to clear screen when you are working in the python interactive shell mode,

import os
os.system('cls')

A quick google actually yields a few solutions, I find this work best for me.

Leave a Reply