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 download (or clone) this repository and open the notebook in google colab.
-
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
-
Download (or clone) this repository
-
In your terminal:
- Change to the directory where you downloaded this repository.
- Run
jupyter notebook
in that directory to browse these notebooks.