Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def show_comkeys(comobj):
- for key in dir(comobj):
- try:
- method = getattr(comobj,key)
- except:
- pass
- if str(type(method)) == "<type 'instance'>":
- print(key)
- for sub_method in dir(method):
- if not sub_method.startswith("_") and not "clsid" in sub_method.lower():
- print("\t"+sub_method)
- else:
- print("\t",method)
- ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement