
Introduction to Programming with Python
Python has become one of the most popular and most powerful programming languages used for anything from small script-like programs up to mobile applications, scientific data analyses, and even HPC modelling. Its power is mainly due to its simplicity and its strong community that continously develops open source packages for most tasks one might have to solve.
In this course, we use Python3 to introduce the participants to basic concepts of programming. We point out the main differences to shell scripting on one side, and using compiled code on the other side. At the end of the course, participants will have a basic understanding of Python programming and how to use python from the interactive shell and write basic Python code importing existing packages.
This course should be understood as a very basic introduction. The course includes the material from Software Carpentries - Programming in Python.
The course will be held online via Zoom. The course will be conducted in English. The maximum number of participants is 12. If more people register, we will organize a repeat course.
Target Audience and Prerequisites
This course is intended for people who start doing scientific computing with Python, particularly on HPC clusters, but not limited to those.
You do not need to have any prior programming experience.
We will provide you with an online environment to write and run your Python code. If you have a Python development environment set up, you can use that instead, but please make sure it is running ahead of the course.
Next Workshop
Date
14 June 2023
16:30 - 20:00
15 June 2023
16:30 - 20:00
Location
The course will be held online via Zoom.
Agenda:
- Running Python Code
- Using the REPL
- Variables and Datatypes
- Loops and if Statements
- Collections
- Functions
- Python Design Philosophy
- Numpy Arrays and Slicing
- Packages and Modules
- Debugging Tips
- Performance Considerations
Note that these topics may be subject to change.