Python is widely used in many contexts. This training introduces you to Python as a language suitable for scientific computing and data analysis. This training is intended for those who have programming experience in another language, but are new to Python.
In this training you will learn how to write idiomatic Python code, and follow up trainings on using Python for scientific computing and data analysis are available.
Learning outcomes
When you complete this training you will be able to
- read and understand well-written Python code;
- write intermediate-level Python programs;
- have a good starting point to familiarize yourself with the more sophisticated aspects of Python by practicing.
- know about best practices and pitfalls for Python programmers;
- have a working knowledge of the Python Standard Library;
Schedule (4 hours)
Subject | Duration |
---|---|
introduction and motivation | 5 min. |
basics: control flow statements, data types | 85 min. |
hands-on session | 20 min. |
coffee break | 10 min. |
functions | 15 min. |
command line arguments | 10 min. |
simple I/O | 10 min. |
more data structures | 35 min. |
list comphrensions & generators | 15 min. |
recent Python features | 20 min. |
hands-on session | 20 min. |
Training materials
Slides are available in the GitHub repository. as well as example code and hands-on material.
Target audience
This training is for you if you need to use Python as a programming language.
Prerequisites
You will need experience programming in another programming language, This is not a training that starts from scratch.
If you plan to do Python programming in a Linux or HPC environment you should be familiar with these as well.
For following along hands-on, you need
- laptop or desktop with internet access;
- software to run Jupyter notebooks, or access to Google Colab.
Level
- Introductory: 40 %
- Intermediate: 40 %
- Advanced: 20 %
Trainer(s)
- Geert Jan Bex (geertjan.bex@uhasselt.be)