Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. from __future__ import division, absolute_import, print_function
  2. # from sys import argv
  3. # import sys
  4. import importlib
  5.  
  6. def see(module_here):
  7. print("Functions in " + module_here + " module")
  8. importlib.import_module(module_here)
  9. a1 = dir(module_here)
  10. for i,v in enumerate(a1):
  11. print(str(i) + ") " + v)
  12. see('sys')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement