[Python-de] Add-On's

"Martin v. Löwis" martin at v.loewis.de
So Feb 17 22:51:09 CET 2008


>> def load_plugins(plugin_dir):
>>      for file in glob.glob(plugin_dir+"/*.py"):
>>          execfile(file)
>>
>> Bei Start des Programms einmal load_plugins("/var/lib/myplugins")
>> aufrufen - fertig.
> 
> Supper!
> Das funktioniert. Genau so etwas habe ich gesucht. Jetzt muss ich mich 
> nur noch um das Interface kümmen. Danke

Gern geschehen!

Martin





Mehr Informationen über die Mailingliste python-de