PyCon UK 2023

The Standard Library Tour
09-24, 14:30–15:00 (Europe/London), Assembly Room

Tired of complex code? Python's standard library has tools to simplify your tasks! Join us for a tour of the standard library where we'll dive into less-known modules that do well-known things and well-known modules that do less-known things.


The Standard Library Tour is designed to provide attendees with an understanding of Python's standard library less known features. Have you ever found yourself writing complex code only to discover that Python has tools available within its library that could have made your job easier? Then this talk is for you!

The outline of the talk:
* Basic information about the library
* Well-known modules which do less-known things
* functools less-known features: @singledispatch, partial(), @cache
* itertools less-known features: product(), filterfalse(), zip_longest()
* collections less-known features: ChainMap, defaultdict
* Less-known modules which do well-known things
* doctest for testing: testmod()
* Difflib & Filecmp for comparison: Difflib.SequenceMatcher, Filecmp.cmpfiles()
* contextlib for tasks involving the with statement: @contextmanager, @asynccontextmanager

By attending this session, you'll gain a deeper understanding of Python's standard library and you'll discover the "unknown unknowns" - tools that you may not even know exist within Python's standard library. By becoming familiar with the library and all of its capabilities, you'll be better equipped to solve problems and build applications more efficiently, without reinventing the wheel. You'll also receive recommendations on where to find additional resources and information so you can continue learning and exploring Python's tools after the conference has ended.


Is your proposal suitable for beginners? – yes

I am a software engineer based in Prague, Czech Republic with over five years of experience in the IT industry. I currently work at Ataccama, a Canadian-Czech company, where I contribute to the development of a business intelligence tool that helps users create engaging data stories and explain complex data phenomena.

I'm a co-organizer of Pyvo - Prague Python meetups and PyCon CZ 2023.

When I'm not working or coding, I enjoy reading, watching movies, skating, playing the clarinet, and traveling.