Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Feature request: create a 'clear' to erase the variables #10688
Comments
|
When you From a Jupyter interface, restarting the kernel is the recommended way to get to a clean slate. I don't think we need easier ways for a script to directly clear your interactive namespace. |
|
if you are running a |
takluyver
added this to the
no action
milestone
Jul 4, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
crazyBaboon commentedJul 2, 2017
•
edited
It would be very nice to have a command called
clearorclear_allto clear the variables from the workspace from a script file. This already exists in Matlab, Octave, Scilab. In Ipython, this can be achieved by:which is quite inelegant, cumbersome and not intuitive at all. Could these calls not be replaced by a single
clearfunction? the name could be similar