title: spyder - clear variable explorer along with variables from memory
body: <p>To clear the console we can use the following command -</p>
  
  <pre><code>import subprocess as sp
  tmp = sp.call('cls',shell=True)
  </code></pre>
  
  <p>However, to remove a variable from memory, we often rely upon -</p>
  
  <ul>
  <li>using <code>del</code> command </li>
  <li>removing variable manually by using the drop-down menu in variable explorer</li>
  </ul>
  
  <p>But both of them are variable specific and hence time-consuming. So is there any general command (like <code>clear</code> under MATLAB) to remove a variable from memory and thereafter from Spyder's Variable Explorer.</p>