Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore idiomatic Python coding techniques in this 43-minute EuroPython 2021 conference talk. Learn how to write more elegant and objectively better code, regardless of skill level, by focusing on vanilla Python features often overlooked in the rush to use external modules and frameworks. Follow a hypothetical Pythonista's journey as they refactor a function using Pythonic idioms and patterns. Dive into topics such as code style, naming conventions, enumerate, nesting, truth values, conditional expressions, and list comprehensions. Suitable for both beginners and advanced users, this talk draws from a weekly article series on Pythonic features. Access talk slides on GitHub and reach out to the speaker via Twitter or email for further discussion.
Syllabus
Intro
About me
The Story
Code Style
Naming
enumerate
Nesting
Truth falsive values
Conditional expressions
List comprehension
Taught by
EuroPython Conference