Like most Python developers, I typically keep a console window open with the Python interpreter running to test commands, dir() stuff, help() stuff
dir()
help() stuff
Arch Linux (tested in xfce4-terminal with Python 3):
xfce4-terminal
# Clear or wipe console (terminal): # Use: clear() or wipe() import os def clear(): os.system('clear') def wipe(): os.system("clear && printf '\e[3J'")
... added to ~/.pythonrc
~/.pythonrc
clear()
wipe()