here2share

# basic_pydoc.py

Jul 28th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. # basic_pydoc.py
  2.  
  3. # ZZZ
  4.  
  5. import os, sys
  6.  
  7. t = []
  8. t.extend(dir('import'))
  9. t.extend(sys.modules.keys())
  10.  
  11. for m in t:
  12.     try: print '%s -----\n %s\n\n'%(m,help(m))
  13.     except: pass
Add Comment
Please, Sign In to add comment