A demo for using Jupyter Notebooks with Python
.
- Jupyter Notebooks are used for data science and machine learning.
- They are also a great way to share code and documentation in a single file.
- This demo will show you how to install Jupyter Notebooks and how to use them.
- Jupyter Lab is a newer version of Jupyter Notebooks that is more powerful and easier to use (also covered in this demo).
Setting Up and Using Jupyter Notebooks with Virtual Environment:
-
Install Python on your computer.
-
Navigate to your project directory in the terminal and create a new virtual environment. Name it (for example, venv):
python3 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the required packages:
pip3 install jupyter matplotlib numpy ipykernel
- Install the kernal for Jupiter Notebooks:
python3 -m ipykernel install --user --name=venv
- Build the notebook
jupyter lab build
- Start the notebook server:
jupyter notebook
or start Jupiter Lab
jupyter lab
- This will open the Jupyter Notebook interface in your default browser. From here you can create a new notebook or open an existing one like the notebook included in this repository.
Try Jupyter is an online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.
Google Colab is an online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.
Kaggle is another online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.
NBViewer is a web service that allows you to view Jupyter Notebooks online. It is a great way to share your notebooks with others.
Deepnote is another online Jupyter Notebook that allows you to run Python code in the cloud. It is a great way to get started with Jupyter Notebooks without having to install anything on your computer.
Binder is a web service that allows you to run Jupyter Notebooks online. It is a great way to share your notebooks with others.
Databricks Community Edition is a web service that allows you to run Jupyter Notebooks online. It is a great way to share your notebooks with others.
Streamlit is a another web service that allows you to run Jupyter Notebooks online. It is a great way to share your notebooks with others.
- Streamlit
- Streamlit Documentation
- Streamlit Tutorial
- Build A Beautiful Machine Learning Web App With Streamlit And Scikit-learn | Python Tutorial
- Jupyter Notebook
- Jupyter Notebook Documentation
- Jupyter Notebook Tutorial
- Jupyter Notebook Tutorial: The Ultimate Guide
- Jupyter Notebook Tutorial: Introduction, Setup, and Walkthrough
This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.
- The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
- For more details, see the LICENSE file in this repository.
Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: scottgrivner.dev
Reference: Main Branch