But you're not really writing python right? You're instructing a tool to generate python. Kinda like saying I'm writing bytecode while I'm actually just typing Java.
Probably half the lines of code were written by me, because I do know how to write code.
Here's what I wrote if you're curious: https://github.com/sjwright/zencontrol-python/