plugins/__init__.py
author lbessard
Sun, 09 Dec 2007 19:01:21 +0100
changeset 76 2ee45a612c6f
parent 17 ee8cb104dbe0
child 83 ad4dafe7bfee
permissions -rw-r--r--
Menu buttons on two lines
from os import listdir, path

_base_path = path.split(__file__)[0]

__all__ = [name for name in listdir(_base_path) if path.isdir(path.join(_base_path, name)) and name != "CVS" or name.endswith(".py") and not name.startswith("__")]