how to create a package in jupyter notebook
时间: 2023-10-31 21:44:05 浏览: 93
如何实现更换Jupyter Notebook内核Python版本
To create a package in Jupyter Notebook, you first need to create a directory (also known as a folder) for your package. Then, within that directory, create a file called __init__.py. This file is required to make the directory a package. Once you have created the directory and the __init__.py file, you can create your modules (Python files) inside the package directory. You can then import your modules as you would any other module in your Jupyter Notebook.
阅读全文