What about the shortcut CTRL+L?
It works for all shells e.g. Python, Bash, MySQL, MATLAB, etc.
import os
os.system('cls') # For Windows
os.system('clear') # For Linux/OS X
What about the shortcut CTRL+L?
It works for all shells e.g. Python, Bash, MySQL, MATLAB, etc.
import os
os.system('cls') # For Windows
os.system('clear') # For Linux/OS X