You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/examples/pytde-sampler/gen_todo.py

20 lines
485 B

mods = ['dcop', 'tdecore', 'tdefx', 'tdeprint', 'tdesu', 'tdeui', 'tdefile', 'tdehtml', 'tdeio', 'tdemdi', 'tdeparts', 'tdespell', ]
all = []
print('Module,Item,Path,Contributor')
for mod in mods:
module = __import__(mod)
items = dir(module)
items.sort()
items = [item for item in items if not item.startswith('_')]
items = [item for item in items if not item in all]
for item in items:
all.append(item)
print('%s,%s,,,' % (mod, item, ))