What is a Generator? A Python generator is a function that produces a sequence of results. It works by maintaining its local state, so that the function can resume again exactly where it left off when called subsequent times. Thus, you can think of a gene... (more…)
Read more »
Open source python client to read your data from the Colmi R02 family of Smart Rings. 100% open source, 100% offline. (more…)
Read more »
Python 3 has optional type hints (and has had them for some time),
and some time ago I was a bit tempted to start using some of them; more recently, I wrote a small amount of
code using them. Recently I needed to write
a little Python program
and as I sta... (more…)
Read more »
I’ve been working for a while now on a bot that plays video games. I needed a way to capture the screen and send input to the game that was fast enough to let a bot interact with it in real time. I… (more…)
Read more »