Launch Your Cybersecurity Career in 6 Months
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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