Python Advanced (2023-11-22 - 2023-22-24)#
Day 1: Basics#
Before noon, we quickly ran through introductory material:
Also covered yield, and the Iterator Protocol:
Afternoon exercise:
More Python:
File I/O (including some
withcoverage)
Day 2: Group Project, And Object Oriented Programming#
Morning wakeup:
Partial tuple unpacking with
*
Project Management
From Object Oriented Programming: necessary material before we can start hacking
Hackin’ da project …
Dictionary comprehension in
SensorConfigpytestfixtures:tmpdirAcquisitionLooptest, usingMockSinkDerive
MockSinkfromlist
Day 3: OO, Hacking, Python Specials#
From Object Oriented Programming: all the rest
Project: lets create interfaces
Closures, Decorators And More
Videos#
Grazer Linuxtage 2023: Pointless Blinking With Python, asyncio, and libgpiod (and a Raspberry Pi of Course). Jörg Faschingbauer, covering
GPIO using
libgpiod(Python binding)Python decorators
Built in Super Heroes. David Beazley in an entertaining keynote to the “PyData Chicago 2016” conference. He has a number of very good and entertaining (and very advanced) videos. You have to spend an entire evening with him though.
Keynote - David Beazley. David Beazley live coding a Web Assembly interpreter. PyCon India 2019.
David Beazley: Generators: The Final Frontier - PyCon 2014: David Beazley again a bit (a whopping four hours) more precise on that topic.
Iterations of Evolution: The Unauthorized Biography of the For-Loop. David Beazley giving lessons in history. How
forevolved from the beginning until where we are today.Raymond Hettinger - Super considered super! - PyCon 2015. Raymond Hettinger, revolving around
super()and MRO.Raymond Hettinger, Keynote on Concurrency, PyBay 2017: Raymond Hettinger covering most if not all aspects and possiblities of concurrency. Very informative, very concise, covering
Multithreading
Multiprocessing
Async; I didn’t even mention that. asyncio. Me big fan.