This repository houses some introductory python notebooks to get people started learning python.
To use these notebooks as reference materials, simply open up the .ipynb notebooks directly in github. All notebooks can be found in the notebooks
folder:
notebooks/introduction
: A set of notebooks used to teach an introduction to pythonnotebooks/optimization
: A set of notebooks to teach optimization using the scx package
To use these notebooks on Google Colab, simply copy the link to your desired notebook and open it using the Github tab in the Google Colab file opener.
-
Download (or clone) this repository
-
Open a terminal in this cloned directory
-
Make sure you have Python 3.6.x (or higher) installed on your system. You can download it here.
-
Recommended (but Optional) - Setup and activate a virtual environment:
- Install (or upgrade) virtualenv:
python3 -m pip install --upgrade virtualenv
- Create your virtualenv named
venv
:
python3 -m virtualenv venv
- Activate your virtual environment
- On Unix (Mac or Linux):
source venv/bin/activate
- On Windows:
venv\scripts\activate
-
In your terminal install jupyter notebooks:
python3 -m pip install jupyter
- In your terminal:
jupyter notebook
- Browse in chrome to your desired notebooks.