Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.56 KB

File metadata and controls

50 lines (38 loc) · 1.56 KB

Python Intro

This repository houses some introductory python notebooks to get people started learning python.

Reference Use

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 python
  • notebooks/optimization: A set of notebooks to teach optimization using the scx package

Interactive Use

Web (With Google Colab)

To use these notebooks on google colab, simply download (or clone) this repository and open the notebook in google colab.

On Your Machine (With Jupyter Notebooks)

Local Setup

  1. Make sure you have Python 3.6.x (or higher) installed on your system. You can download it here.

  2. 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
      
  3. In your terminal install jupyter notebooks:

python3 -m pip install jupyter
  1. Download (or clone) this repository

  2. In your terminal:

  • Change to the directory where you downloaded this repository.
  • Run jupyter notebook in that directory to browse these notebooks.