Advertisement
KShah

Untitled

Mar 23rd, 2022
1,392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. import import_me
  2.  
  3.  
  4. def get_all_functions():
  5.     membs = dir(import_me)
  6.     answer = []
  7.     for i in membs:
  8.         if callable(getattr(import_me, i)):
  9.             answer.append(i)
  10.     return answer
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement