Skip to content

The Jupyter Notebooks behind my OReilly report, "A Whirlwind Tour of Python"


Notifications You must be signed in to change notification settings


Repository files navigation

A Whirlwind Tour of Python

Jake VanderPlas, Summer 2016

This repository contains the Jupyter Notebooks behind my O'Reilly report, A Whirlwind Tour of Python (free 100-page pdf).

A Whirlwind Tour of Python is a fast-paced introduction to essential components of the Python language for researchers and developers who are already familiar with programming in another language.

The material is particularly aimed at those who wish to use Python for data science and/or scientific programming, and in this capacity serves as an introduction to The Python Data Science Handbook (also with notebooks on github). These materials are adapted from courses and workshops I've given on these topics at University of Washington and at various conferences, meetings, and workshops around the world.

This material was written and tested using Python 3.5, and should work for any Python 3.X version. I have done my best to note places where the syntax of Python 2.X will differ.


(Note: sometimes GitHub's notebook rendering can be slow or finicky. If you're having trouble with the following links, try viewing the material on nbviewer)

Notebook Index

  1. Introduction
  2. How to Run Python Code
  3. Basic Python Syntax
  4. Python Semantics: Variables
  5. Python Semantics: Operators
  6. Built-In Scalar Types
  7. Built-In Data Structures
  8. Control Flow Statements
  9. Defining Functions
  10. Errors and Exceptions
  11. Iterators
  12. List Comprehensions
  13. Generators and Generator Expressions
  14. Modules and Packages
  15. Strings and Regular Expressions
  16. Preview of Data Science Tools
  17. Resources for Further Learning
  18. Appendix: Code To Reproduce Figures

License and Citation

This material is released under the "No Rights Reserved" CC0 license, and thus you are free to re-use, modify, build-on, and enhance this material for any purpose. Read more about CC0 here.

If you do use this material, I would appreciate attribution. An attribution usually includes the title, author, publisher, and ISBN. For example:

A Whirlwind Tour of Python by Jake VanderPlas (O’Reilly). Copyright 2016 O’Reilly Media, Inc., 978-1-491-96465-1.


The Jupyter Notebooks behind my OReilly report, "A Whirlwind Tour of Python"



Code of conduct

Security policy





No releases published