import beets.util.config as c print([n for n in dir(c) if not n.startswith('_')]) try: import inspect src = inspect.getsource(c) print('\n---- source head ----\n') print('\n'.join(src.splitlines()[:200])) except Exception as e: print('could not get source:', e)