def DumpCommands():
    print "%-10s - %s" % ("Command", "Description")
    print "%-10s - %s" % ("-------", "-----------")
    for name, item in globals().items():
        if type(item)==type(DumpCommands):
            doc = getattr(item, "__doc__", "")
            if doc:
                lines = string.split(doc, "\n")
                print "%-10s - %s" % (name, lines[0])
                for line in lines[1:]:
                    if line:
                        print " " * 8, line
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/win32/scripts/ce/pysynch.py/DumpCommands/original