Our career paths help you become job ready faster
Every Coursera Certificate for Less Than $20/Month
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
This conference talk from PyCon US explores lesser-known control flow mechanisms in Python beyond the familiar if-else statements. Discover how for-else and try-except-else blocks work and learn to leverage these obscure features to write cleaner, more maintainable code. Begin with fundamental control flow concepts before diving into how these alternative syntax elements can make common patterns more readable. Explore how Python handles complex mechanisms like generators and decorators to build higher-order functionality. The 23-minute presentation even ventures into creating custom control flow systems and implementing features like the "do-while" loop that many developers wish Python had natively. Join this adventure into the depths of Python's less-traveled grammatical structures and expand your programming toolkit.
Syllabus
Or Else! An Exploration of Obscure Control Flow
Taught by
PyCon US