Skip to content

Instantly share code, notes, and snippets.

@magigo
magigo / README
Last active November 5, 2015 04:24 — forked from meonkeys/README
通过子类的方式实现插件
Plugin architecture based on "sub-class discovery method" described in a talk
by Dr. André Roberge. The talk is called "Plugins and monkeypatching:
increasing flexibility, dealing with inflexibility".
Here's the talk recorded at PyCon 2009 in Chicago:
http://us.pycon.org/2009/conference/schedule/event/47/
Plugin writer HOWTO:
1. subclass "Base"
2. implement sayHi()