Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Or Else! An Exploration of Obscure Control Flow in Python

PyCon US via YouTube

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

Reviews

Start your review of Or Else! An Exploration of Obscure Control Flow in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.