title: What is the easiest way to generate a Control Flow-Graph for a method in Python?
body: <p>I am writing a program that tries to compare two methods. I would like to generate Control flow graphs (CFG) for all matched methods and use either a topological sort to compare the two graphs. </p>