Clear everything except a few specific variables in IPython

I know teams %reset

and %reset_selective

in IPython

. However, suppose you have a lot of variables, and you want to clear all variables, except x

, y

, z

. Is there a concise way to do this? Tell me %reset_all_except x,y,z

?

+3


source to share





All Articles