Collection of Jupyter Notebooks about Python programming
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
data Data files for Persistence Notebook Jan 20, 2016
files Data files for Persistence Notebook Jan 20, 2016
.gitignore Ignored Untitled notebook (used for testing and notes) Jan 20, 2016
00 Programming Environment.ipynb Added Programming Environment Dec 21, 2015
01 Hello World.ipynb Removed Navigation Dec 21, 2015
01 Introducing the IPython Notebook.ipynb updated with the %%python2 cell magic Dec 22, 2015
02 Variable Strings and Numbers.ipynb Fixed Typos Feb 22, 2016
03 List and Tuples and Sets.ipynb Included Section on Sets Jun 22, 2016
04 If Statements.ipynb New Section on the If clause Dec 21, 2015
05 While Loops and User input.ipynb Added Section on While loops and User Input Dec 21, 2015
06 Dictionaries.ipynb Added section on Dictionaries Dec 21, 2015
07 Introduction to Functions.ipynb New notebook on functions Dec 22, 2015
07 More Functions.ipynb New notebook on functions Dec 22, 2015
08 Classes and OOP.ipynb Added notebook on OOP and Classes Dec 22, 2015
09 Exceptions.ipynb Included Example of `try/except/else/finally` block w/ multiple excep… Jun 22, 2016
10 External files.ipynb Modified to be slides Jun 22, 2016
11 Persistence.ipynb Added Generators Jan 20, 2016
Coding Style (PEP8).ipynb New PEP8 indications about module import and class names Dec 22, 2015
Importing Modules.ipynb Fixed Typos Feb 22, 2016
Index.ipynb Updated Index Dec 21, 2015
LICENSE Initial commit Dec 21, 2015 Updated README file Dec 21, 2015
Resources and References.ipynb Updated Resources with links to the Python community Dec 22, 2015
The Zen of Python.ipynb Added new notebook about the Zen of Python Dec 22, 2015 Added notebook on OOP and Classes Dec 22, 2015 Added notebook on OOP and Classes Dec 22, 2015

Python in a Notebook

This repository contains a curated collection of Jupyter/IPython Notebooks of introductory materials about programming in Python.


Available notebooks are intended to aid both students and teachers in learning and teaching Python programming, respectively.

In more details, the goals of this project are:

  • Introduce students as quickly as possible to the basics of Python programming;
  • Introduce best practice as early as possible, while remaining accessible to students with no background in programming at all;
  • Provide teachers an easy-to-use material about programming in Python to be used in their lectures

Running Notebooks

All you need to do to play notebooks is to open a Terminal, and type the following command:

jupyter notebook

That's it! :)

Programming Environment

These notebooks are written primarily in Python 3.

If the default Python on your system is Python 3, then you will have a simpler time contributing to the project. If you only have Python 2, you might want to consider adding Python 3 to your system.

In this regards, you may find useful to take a look at the Programming Environment notebook where you could find links and details on how to set up your environment depending on your platform.


  • Python 3.x (2.x would work as well)
  • IPython 4.x (with notebook support) or Jupyter:
    • pip install ipython[notebook] (OR)
    • pip install jupyter

License and Sharing Material

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.