The first 2 In the chapter , We learned IPython shell and Jupyter notebook The basis of . In this chapter , We will explore IPython Deeper functions , From the console or in jupyter Use .
Ipython Maintains a small database on disk , Used to save each instruction executed . Its uses are :
These functions are shell in , than notebook More useful , because notebook The design is to put the input and output code into each code grid .
Ipython It allows you to search and execute previous code or other commands . This function is very useful , Because you may need to repeat the same command , for example %run command , Or other codes . Suppose you have to perform :
In[7]: %run first/second/third/data_script.py