Issue
Sometimes I rerun a script within the same ipython session and I get bad surprises when variables haven't been cleared. How do I clear all variables? And is it possible to force this somehow every time I invoke the magic command %run?
Thanks
Solution
%reset
seems to clear defined variables.
Answered By - aisbaa
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.