Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. # This is a 'module'  that has been imported elsewhere
  2. def function1():
  3.   pass
  4.  
  5. def function2():
  6.   pass
  7.  
  8. def function_n():
  9.   pass
  10.  
  11. def get_function(name):
  12.   if name in __something__:
  13.     return getattr(__something__, name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement