Diese Seite ist nur auf Englisch verfügbar.

Python Best Practices Compact course: Python Best Practices

Format

This is a half-day course.

Prerequisites

Basic Python knowledge is required.

Summary

Python has rapidly advanced to the most popular programming language in science and research. From data analysis to simulation and preparation of publications, all can be done in Python with appropriate libraries and implementing own modules. We will discuss Python Enhancement Proposals (PEP) and how these can help you write cleaner code. Common pitfalls in Python will be explained with examples. We will demonstrate typical “bad programming” and how to code the examples in a more pythonic way.

Learning Objectives

After the course participants will be able to

  • Understand the basic PEP recommendations
  • Use a linter and code formatter to ensure following of the guidelines
  • Write better=more readable code
  • Avoid bugs through best practices for example in passing keyword arguments

Signup

Sign up for this course here: Signup for the next scheduled course