Premium Only Content
Fun with Python's Newer Tools -fun with python's newer tools
Fun with Python's Newer Tools
Spend ten minutes each learning to work with Counters, named tuples, new string formatting, and the LRU cache. Learn the basic API, see how it works under the hood, enjoy a simple example, and then have fun pushing it to the limit in interesting ways.
Look at how a Counter is implemented. See a simple word count example. Use a counter for unittests. Implement a sparse matrix.
Show how named tuples are created, combined, subclassed, and extended. See how to implement an Enum class and how to create default values.
Learn the basics of the new string formatting syntax. See how to use it for templating.
Show everyday uses for an LRU cache, look at the underlying implementation, and see how to use it to trivially solve a dynamic programming problem.
-
LIVE
XDDX_HiTower
48 minutes agoGRAY ZONE DEVLOG FOR .3.5 UPDATE!!! [RGMT CONTENT Mgr. | RGMT GL | GZW CL]
56 watching -
LIVE
LFA TV
15 hours agoLIVE & BREAKING NEWS! | TUESDAY 11/4/25
3,877 watching -
LIVE
The Shannon Joy Show
2 hours agoICE Brutality In Evanston, Illinois Sparks New Outrage * GOP Seeks New FISA Re-Authorization * Are Tucker Carlson & Nick Fuentes Feds?
248 watching -
LIVE
The Mel K Show
2 hours agoA Republic if You Can Keep It-Americans Must Choose 11-04-25
604 watching -
Grant Stinchfield
1 hour agoThe Mind Meltdown: Are COVID Shots Fueling America’s Cognitive Collapse?
3.26K -
1:00:46
VINCE
4 hours agoThe Proof Is In The Emails | Episode 161 - 11/04/25
146K139 -
2:12:22
Benny Johnson
3 hours ago🚨Trump Releases ALL Evidence Against James Comey in Nuclear Legal BOMBSHELL! It's DARK, US in SHOCK
77.7K27 -
2:04:05
Badlands Media
11 hours agoBadlands Daily: November 4, 2025
58.6K10 -
2:59:49
Wendy Bell Radio
8 hours agoBUSTED.
71.6K85 -
1:15:01
The Big Migâ„¢
4 hours agoDing Dong The Wicked Witch Pelosi Is Gone
12.3K6