Re: [Tutor] [Edited] Plug-in enabled Program

2009-03-02 Thread Alan Gauld
"Daniele" wrote have is how to adapt it to multiple plugins related to the same interface. There are a few approaches. There is a design pattern (facade from memory) that allows this but you can also implement the plugin calls as a list of objects. So instead of calling theInteface.foo

Re: [Tutor] [Edited] Plug-in enabled Program

2009-03-02 Thread Daniele
> -- Messaggio inoltrato -- > From: "Alan Gauld" > To: tu...@python.org > Subject: Re: [Tutor] Tutor Digest, Vol 61, Issue 3 > > OK, To do that you need to provide an intrerface in your code > that the plug-in can use. That is to say you must call a documented > set of functions/me