Implement a Plugin Architecture in Python with Only Two Lines of Code!
I've been doing a ton of Python coding lately and one thing I've really appreciated is how easy it is to implement a plugin system. When would you use this? If you're shipping code, you may want to include hooks for your end users to extend your code. If you document a plugin interface, they can write their own custom code. In my case, I'm using Python's multiprocessing module to fire off a variety of jobs. The core en...
Read More