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

YouTube

Python Unplugged: Mining for Hidden Batteries

EuroPython Conference via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore hidden gems in Python's standard library in this 46-minute EuroPython 2024 conference talk. Delve into lesser-known features from modules like itertools, collections, functools, and typing to enhance your Python skills. Learn about urllib, TypedDict, batching techniques, islice, DictWriter, pairwise operations, chain functions, context managers, doctests, generators, NamedTuples, defaultdict, Counter, groupby, and more. Discover how to leverage these built-in tools to write more pythonic code without additional installations. Suitable for beginners and intermediate developers, this talk provides valuable insights into Python's extensive built-in capabilities, complete with code examples and practical applications.

Syllabus

Introduction
Chapter 1: Fetching data
urllib
TypedDict
Batching
islice
batched
DictWriter
Chapter 2: Cleaning data
pairwise
chain
ChainMap¹
Multiple Context Managers
Doctest
yield from
misusing return value in generators
NamedTuple²
Chapter 3: Processing data
defaultdict
Counter
groupby
reduce / tee
¹itertools.ChainMap is wrong: collections.ChainMap is right
²We also need to yield one more time at the end for the case, where the last books are lost books. Maybe even yield namedtuplebook: Book, lost: bool

Taught by

EuroPython Conference

Reviews

Start your review of Python Unplugged: Mining for Hidden Batteries

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.