How To Clear Python Console (i.e. Ctrl+L Command Line Equivalent)
OS = Linux [boris@E7440-DELL ~]$ uname -a Linux E7440-DELL 3.17.4-200.fc20.x86_64 #1 SMP Fri Nov 21 23:26:41 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux From python console (Spyder 2.
Solution 1:
You can try:
os.system('tput reset')
To hide the return value, use:
variable = os.system('tput reset')
Post a Comment for "How To Clear Python Console (i.e. Ctrl+L Command Line Equivalent)"