Is there a way to answer “y” to (or ignore) all y/n prompts?

后端 未结 1 1477
一个人的身影
一个人的身影 2021-01-06 06:51

I have a Jupyter notebook that has a lot of large variables, and at one point I want to get rid of all the ones I\'m done with. I\'m using %reset_selective variablename to c

相关标签:
1条回答
  • 2021-01-06 07:10

    Reading from here:

    %reset_selective [-f] regex

    No action is taken if regex is not included

    Options -f : force reset without asking for confirmation.

    Seems you're able to pass -f flag to %reset_selective to have it force without asking.

    0 讨论(0)
提交回复
热议问题