1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
mods = ['dcop', 'kdecore', 'kdefx', 'kdeprint', 'kdesu', 'kdeui', 'kfile', 'khtml', 'kio', 'kmdi', 'kparts', 'kspell', ]
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, )
|