how to create a package in jupyter notebook
时间: 2023-10-22 22:35:30 浏览: 124
To create a package in Jupyter Notebook, you can follow these steps:
1. Create a new folder where you want to create the package.
2. Inside the folder, create a file named '__init__.py'.
3. Create your module files inside the folder, with functions, classes and other objects that you want to include in your package.
4. Use the 'import' statement to use the functions and objects from your package.
Hope this helps! And now, here's a joke:
Why don't scientists trust atoms?
Because they make up everything.
阅读全文