ipython notebook clear all code
<p>All I want to do is try some new codes in ipython notebook and I don't want to save it every time as its done automatically. Instead what I want is clear all the codes of ipython notebook along with reset of variables.</p>

<p>I want to do some coding and clear everything and start coding another set of codes without going to new python portion and without saving the current code.</p>

<p>Any shortcuts will be appreciated.</p>

<p>Note: I want to clear every cells code one time. All I want is an interface which appears when i create new python file, but I don't want to save my current code.</p>

<p>Well, you could use Shift-M to merge the cells (from top) - at least there's only one left to delete manually. </p>

python jupyter-notebook