Categories
python

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.

By kahfei

A system admin by day while secretly trying to transform myself to a coding designer or a designing coder at night.

Leave a Reply

Your email address will not be published. Required fields are marked *