This is the website for an older EuroPython. Looking for the latest EuroPython? Click here!
Skip to main content

You DON'T know comprehensions 🤷

Level:
beginner
Room:
exhibit hall
Start:
Duration:
60 minutes

Abstract

You don't know comprehensions!

Why are list comprehensions good? Because they are fast?

Wrong!

Because they are short?

Wrong!

This poster session will show why list comprehensions are an excellent Python tool.

The poster session will:

  • teach you to convert loops to list comprehensions;
  • show how to write list comprehensions from scratch; and
  • give 10+ actionable tips and tricks for list comprehensions.

The poster will also show the similarities between list comprehensions and:

  • set comprehensions;
  • dict comprehensions; and
  • generator expressions.
PosterPython Internals & Ecosystem

The speaker

Rodrigo Girão Serrão

Rodrigo Girão Serrão

Rodrigo has always been fascinated by problem solving and that is why he picked up programming – so that he could solve more problems. He also loves sharing knowledge, and that is why he spends so much time writing articles in his blog mathspp.com/blog, writing on Twitter @mathsppblog, and giving workshops and courses.

His main areas of scientific interest are mathematics (numerical analysis in particular) and programming in general (with a preference for the Python and APL languages), but Rodrigo also enjoys reading fantasy books, watching silly comedy movies and eating chocolate.

All materials can be accessed from this GH repo.


← Back to schedule