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 for striper in stripers: if striper["enabled"]: use=open(stripper) exec(use)
Do you now is the best way? -- http://mail.python.org/mailman/listinfo/python-list