How to clear the interpreter console?
Here is the simple method:
>>> clear = "\n" * 100 >>> print clear >>> ...do some other stuff... >>> print clear
Add this file in your python search path for saving some typing:
# wiper.py class Wipe(object): def __repr__(self): return '\n'*1000 wipe = Wipe()
Now the interpreter can be done as user like:
>>> from wiper import wipe >>> wipe >>> wipe >>> wipe