This course is based on the book below and the corresponding Jupyter notebooks of Jake VanderPlas. The course in its original format can be found on Github. Kinga Sipos uses this material together with a general introduction into programming, the slides of which can be found in the IntroductorySlides folder. As reading from and writing to a file is belonging also to the basics, Kinga Sipos created the complementray Chapter 14-File Input and Output. Some other little details were created and/or changed. Finally extra exercises were added in order to enhance the interactivity of the course. Chapter 18-Plotting was also added to provide a first experience with plotting in Python. This chapter is still under construction.
A Whirlwind Tour of Python is a fast-paced introduction to essential components of the Python language for researchers and developers.
According to Jake VanderPlas 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 his next book, The Python Data Science Handbook. These notebooks are adapted from lectures and workshops Jake VanderPlas has given on these topics at University of Washington and at various conferences, meetings, and workshops around the world.
- 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
- Strings and Regular Expressions
- File Input and Output
- Modules and Packages
- Preview of Data Science Tools
- Resources for Further Learning
- Plotting
- Appendix: Figure Code
- Exercises
- Solutions
The materials from Jake VanderPlas were modified respecting the licence they were published with. The modified material is released under the same "No Rights Reserved" CC0 license, and thus you are free to re-use, modify, build-on, and enhance this material for any purpose.
Respecting the wish of Jake VanderPlast, we include a proper attribution and/or citation of the materials consituting the basis of this course:
A Whirlwind Tour of Python by Jake VanderPlas (O'Reilly). Copyright 2016 O'Reilly Media, Inc., 978-1-491-96465-1
Read more about CC0 here.