Writing Idiomatic Python – Real Python

Python Best Practices Artwork

Martin Breuss

What programming idioms are unique to Python? This course is both a short overview for people coming from other languages as well as an introduction for programming beginners to the idiomatic practices within Python.

In this course, you’ll learn:

  • How to access and interpret The Zen of Python
  • How to set up a script
  • How to test truth values
  • How to swap variables in-place
  • How to create Pythonic for loops

What’s Included:

Downloadable Resources:

Related Learning Paths:

Martin is Real Python's Head of Content Strategy. With a background in education, he's worked as a coding mentor, code reviewer, curriculum developer, bootcamp instructor, and instructional designer.

» More about Martin


Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Related Courses:

← Browse All Courses