A python script that lets you generate bytecode object dissasembly report which contains all important informations about it. Everything wrapped in small IDLE-styled HTML file.
cmd:
py -m dis_report <module_name> <object_name> -o <output_file>
Where object_name is the name of python object from which to retrieve code.
python:
import dis_report
def my_function(foo):
print(foo)
report = dis_report.generate_report_html(my_function.__code__)
Where report variable is a complete HTML document that can be later written to a file and opened in browser.