Latest recipes tagged "dependecies" Code RecipesCreate module dependency graph (Python) 2010-05-07T11:29:03-07:00Noufal Ibrahim <p style="color: grey"> Python recipe 577222 by <a href="/recipes/users/4173873/">Noufal Ibrahim</a> (<a href="/recipes/tags/dependecies/">dependecies</a>, <a href="/recipes/tags/graphs/">graphs</a>, <a href="/recipes/tags/utilities/">utilities</a>). </p> <p>The following snippet will dump the module dependencies in a format that can be interpreted by the dot program distributed along with graphviz. You can use it like below to see the dependency graph for the asynchat module for example. (the program is saved as</p> <pre class="prettyprint"><code>python asynchat | dot -Tpng | display </code></pre> <p>A screenshot is available here <a href="" rel="nofollow"></a></p>