从字面上看,IPython-Notebook
是笔记本。我尝试将其用作笔记本。
那么,有什么方法可以在我编写的ipynb集合中搜索关键字或更复杂的搜索?就像Evernote允许您对笔记进行更复杂的搜索一样。
我使用Google的工具栏在IPython-Notebook / Jupyter Notebook中搜索关键字。很方便
在UBUNTU OS 18.04上我位于名为work的目录中,并且在dir work中有一个名为我所有的ipynb文件都放在子文件夹中的IPYNB
我正在我的ipynb文件之一中搜索字符串“ trigFromTanEqL”,因此:我输入命令:grep -rnw'./'-e“ trigFromTanEqL”
SageMath/work$ grep -rnw './' -e "trigFromTanEqL"
./IPYNB/LinearAlgebraMIT/.ipynb_checkpoints/exoTrigo-checkpoint.ipynb:496: "trigFromTanEqL=[sin(t_1)==tan(t_1)/(sqrt(1+tan(t_1)^2)), cos(t_1)==1/(sqrt(1+tan(t_1)^2)) , \\\n",
./IPYNB/LinearAlgebraMIT/.ipynb_checkpoints/exoTrigo-checkpoint.ipynb:501: "ftan(t_1,t_2)=f.subs(trigFromTanEqL)\n",
./IPYNB/LinearAlgebraMIT/exoTrigo.ipynb:496: "trigFromTanEqL=[sin(t_1)==tan(t_1)/(sqrt(1+tan(t_1)^2)), cos(t_1)==1/(sqrt(1+tan(t_1)^2)) , \\\n",
./IPYNB/LinearAlgebraMIT/exoTrigo.ipynb:501: "ftan(t_1,t_2)=f.subs(trigFromTanEqL)\n",