Save workspace in IPython

前端 未结 5 1278
无人及你
无人及你 2020-12-13 14:42

Is it possible to save an IPython workspace (defined functions, different kinds of variables, etc) so that it can be loaded later?

This would be a similar function

5条回答
  •  半阙折子戏
    2020-12-13 15:30

    You can try

    %save name lines
    

    Like if you have input 67 commands and you want to save all of them:

    %save myhistory 1-67
    

提交回复
热议问题