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

YouTube

Comprehensible Comprehensions

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of list comprehensions in Python through this informative talk by Trey Hunner at PyCon US. Delve into the purpose, implementation, and best practices of list comprehensions, set comprehensions, dictionary comprehensions, and generator expressions. Learn how to effectively transform for loops into comprehensions, enhance code readability, and identify appropriate scenarios for their use. Gain insights on when to opt for generator expressions over list comprehensions and understand the limitations of comprehensions in certain contexts. Whether you're a comprehension enthusiast or skeptic, this 33-minute presentation will equip you with valuable knowledge to better comprehend and utilize this unique Python feature in your code.

Syllabus

Talk: Trey Hunner - Comprehensible Comprehensions

Taught by

PyCon US

Reviews

Start your review of Comprehensible Comprehensions

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.