Re:Rethinking temperature, sensors, and Raspberry Pi
by dalanmiller on Monday August 24, 2015 @12:26PM
(#10110957)
Howdy! Author here.
I definitely wanted to do all parts in Python but am somewhat allergic to the `while True:` pattern necessary in Python for changfeeds. I haven't brought myself up-to-date on the more recent asyncio library to write the more Pythonic `yield from` for a changefeeds example.
Would you know how to do this in Python elegantly? Because I would love to rip out the Node/Javascript parts.
I definitely wanted to do all parts in Python but am somewhat allergic to the `while True:` pattern necessary in Python for changfeeds. I haven't brought myself up-to-date on the more recent asyncio library to write the more Pythonic `yield from` for a changefeeds example.
Would you know how to do this in Python elegantly? Because I would love to rip out the Node/Javascript parts.