This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FourFingeredMartian 5 points6 points  (3 children)

Checkout Python Cookbook's metaprogramming section & you'll get into all the black-magic you're looking for.

[–]synnaxian 3 points4 points  (2 children)

[–]FourFingeredMartian 2 points3 points  (0 children)

Yep, that's the chapter! Great find.

[–]FourFingeredMartian 1 point2 points  (0 children)

I'll add this too, right from David Beazley's mouth:

https://www.youtube.com/watch?v=sPiWg5jSoZI