Re: creating addon system

2010-05-22 Thread Christian Heimes
Am 22.05.2010 12:06, schrieb timo verbeek: Is there not an other way to create a fast addon system? A module or something like that How fancy are your requirements? People have written numerous plugin systems, from simple to use ones like CherryPy's tool system up to a complex component archi

Re: creating addon system

2010-05-22 Thread timo verbeek
Is there not an other way to create a fast addon system? A module or something like that -- http://mail.python.org/mailman/listinfo/python-list

Re: creating addon system

2010-05-21 Thread Adam Tauno Williams
On Fri, 2010-05-21 at 08:50 -0700, timo verbeek wrote: > What is the easiest way in python to create a addon system? > I found to easy ways: > * using a import system like this: >for striper in stripers: > if striper["enabled"]: > exec("from strip import %s as _x"%stripe

Re: creating addon system

2010-05-21 Thread Krister Svanlund
On Fri, May 21, 2010 at 5:50 PM, timo verbeek wrote: > What is the easiest way in python to create a addon system? > I found to easy ways: > * using a import system like this: >       for striper in stripers: >        if striper["enabled"]: >            exec("from strip import %s as _x"%striper["s

creating addon system

2010-05-21 Thread timo verbeek
What is the easiest way in python to create a addon system? I found to easy ways: * using a import system like this: for striper in stripers: if striper["enabled"]: exec("from strip import %s as _x"%striper["striper"]) string = _x.start(string) * using exec