Introduction to Python
The purpose of this tutorial is be an example-drive introduction to scripting in Python.
It's meant to be a crash course, to expose you to the things that are most useful and to explain them in such a way that someone new to programming (or rusty) would get the basic idea.
It is not designed to teach you to be a software developer, to instill good software development practices, or to educate you on the fundamentals of computer science.
- A linux command line
- a python interpreter
- a code editor
- git
You can use Binder to view/edit the code and execute it in a terminal. Get started here: .
Each directory is a lesson. They build upon each other conceptually but still run independently.
Sites and sources I have consulted and consumed:
- Stackoverflow answer with a good distillation of the PEP 8 naming conventions.
- An Informal Introduction to Python from python.org.
- Akuli / python-tutorial on github
- eugeneh101 / Advanced-Python a good tutorial on more advanced Python
- Primer on Function Dectorators in Python
- Scope in Python and LEGB
- Simple Data Visualisation with Python and Pandas
- Pandas Visualization