jakevdp/WhirlwindTourOfPython
The Jupyter Notebooks behind my OReilly report, “A Whirlwind Tour of Python”
repo name | jakevdp/WhirlwindTourOfPython |
repo link | https://github.com/jakevdp/WhirlwindTourOfPython |
homepage | |
language | Jupyter Notebook |
size (curr.) | 1227 kB |
stars (curr.) | 2241 |
created | 2016-07-27 |
license | Creative Commons Zero v1.0 Universal |
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.
Index
(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)
- Introduction
- How to Run Python Code
- Basic Python Syntax
- Python Semantics: Variables
- Python Semantics: Operators
- Built-In Scalar Types
- Built-In Data Structures
- Control Flow Statements
- Defining Functions
- Errors and Exceptions
- Iterators
- List Comprehensions
- Generators and Generator Expressions
- Modules and Packages
- Strings and Regular Expressions
- Preview of Data Science Tools
- Resources for Further Learning
- 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.