get list of functoins in module where instance is declared python code example Example: how to know all methods in a module in python >>> import re >>> dir(re)