etisserant@10: from os import listdir, path etisserant@10: etisserant@10: l = listdir(path.split(__file__)[0]) etisserant@10: etisserant@10: __all__ = [name[0:-3] for name in l if name.endswith(".py") and not name.startswith("__")] etisserant@10: