
Good programming practice in Python
Summary
The good programming practice in Python course teaches the skills to make programming easier. You will learn to avoid common mistakes and to structure code in a way that improves readablity and understanding.
Target groups
The course is suitable for people with experience in Python who want to improve their code writing style and save time on future projects. For beginners, the Python for scientists course is better suited as it covers a wide range of topics while also including the good programming practice course.
Feedback
The course has been held multiple times at the Max Planck School of Photonics with very good reviews. Contact us for the full review, here are some excerpts:
- “I like how aware it made me of how careless I was being with coding style.”
- “I like the helpful tips on how to make code more readable and the “bad” code homework”
- “I really liked the details on the notebook extensions.”
- “Nice structured videos available, when one has time”
Course structure
The course is held in English and currently consists of 2 modules. Every module contains
- a 60-90 minute video lecture on moodle.training-scientists.de that the participants can watch when it suits them
- exercises for the participants to apply what they have learned
- a live Zoom tutorial to answer questions (90-120min)
Content
- The PEP8 style guide
- How to structure your Jupyter notebook: imports, cell size, line length, naming of variables and functions, comments
- Which notebook extensions to use
- Useful keyboard shortcuts to speed up code writing
- Version control with GIT
- Increase usability in Windows