!pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master
!pip install jupyter_nbextensions_configurator
!jupyter contrib nbextension install --user
!jupyter nbextensions_configurator enable --user
  • 一个好用的扩展库: pip install -U jupyter_contrib_nbextensions 或者 conda install -c conda-forge jupyter_contrib_nbextensions (推荐)
  • 关联Jupyter Notebook和conda的环境和包——“nb_conda”☆ (可以在Conda类目下对conda环境和包进行一系列操作):conda install nb_conda
  • Use Jupyter Notebooks in Azure Machine Learning Workbench

下面是在 Notebook 中的操作

  • 加载指定网页源代码:%load URL
  • 加载本地Python文件:%load Python文件的绝对路径
  • 直接运行本地Python文件:%run Python文件的绝对路径!python Python文件的绝对路径

相关文章:

  • 2021-10-06
  • 2021-06-29
  • 2021-07-22
  • 2021-09-07
  • 2021-04-30
  • 2022-02-06
猜你喜欢
  • 2021-10-01
  • 2021-05-31
  • 2021-06-30
  • 2021-05-12
  • 2021-02-18
相关资源
相似解决方案