Description
This is a tutorial for the course “Programming for Physicists” at the University of Vienna. The course is designed to teach the basics of Python programming to undergraduate physics students. It is held weekly and questions can also be asked via email. The course is designed to be interactive, with a focus on helping the students deepen their understanding of the coursework.
The lecture information can be found here: https://ufind.univie.ac.at/en/course.html?lv=260023&semester=2023W
Overview
The tutorial covers the following topics:
- Introduction to Python
- Data types and variables
- Control structures (if statements, loops)
- Functions
- Data structures (lists, dictionaries)
- File I/O
- Libraries and modules
- Object-oriented programming
- Error handling
- Debugging techniques
- Best practices in programming
- Version control with Git
- Introduction to Jupyter notebooks (short demo)
- NumPy
- Whatever other topics the students are interested in