To clear the console we can use the following command -
import subprocess as sp tmp = sp.call(\'cls\',shell=True)
However, to remove a vari
Go to the IPython console in the Spyder IDE and type %reset. It will prompt you to enter (y/n) as the variables once deleted cannot be retrieved. Type 'y' and hit enter. That's it.