Make a simple Blender Addon/Hotkey/Button with Python (Patreon)
Content
OHyeah! Getting into some python!
Obviously there are lots of tutorials out there by far more knowledgeable people- this isn't an "introduction to python" or anything like that (I tend to recommend Curtis Holt's videos, but there are tons of options out there), because this effectively skips most of that bit and kinda jumps straight into, "yeah but can I do stuff", which always helps me learn, personally, because I need to feel like I'm making progress or I'll get frustrated and give up :P .
Mostly I'm just super jazzed to finally feel like I have my head around this a little bit (I've been poking at python for years without ever actually doing anything 'useful'), and I'm hoping this video might potentially bring anyone else who was in the same position as me along for the ride.
Obvious huge thanks to Nathan Vegdahl, who's been a ever-genial fount of pythonic wisdom, and without whom I don't think I would have gotten this far.
Again, there are tons of resources scattered around online, and I should definitely link to the blender python API, which is a huge source of documentation for the way blender interacts with python.
OH ALSO here's the python script from the video. I added a lot of in-line documentation to sort of re-explain what goes where.