1. <i id='yAMCe'><tr id='yAMCe'><dt id='yAMCe'><q id='yAMCe'><span id='yAMCe'><b id='yAMCe'><form id='yAMCe'><ins id='yAMCe'></ins><ul id='yAMCe'></ul><sub id='yAMCe'></sub></form><legend id='yAMCe'></legend><bdo id='yAMCe'><pre id='yAMCe'><center id='yAMCe'></center></pre></bdo></b><th id='yAMCe'></th></span></q></dt></tr></i><div id='yAMCe'><tfoot id='yAMCe'></tfoot><dl id='yAMCe'><fieldset id='yAMCe'></fieldset></dl></div>
      <legend id='yAMCe'><style id='yAMCe'><dir id='yAMCe'><q id='yAMCe'></q></dir></style></legend>

      <tfoot id='yAMCe'></tfoot>
      • <bdo id='yAMCe'></bdo><ul id='yAMCe'></ul>

        <small id='yAMCe'></small><noframes id='yAMCe'>

        Python有没有好的依赖分析工具?

        Is there a good dependency analysis tool for Python?(Python有没有好的依赖分析工具?)

          <small id='mqeAM'></small><noframes id='mqeAM'>

          <i id='mqeAM'><tr id='mqeAM'><dt id='mqeAM'><q id='mqeAM'><span id='mqeAM'><b id='mqeAM'><form id='mqeAM'><ins id='mqeAM'></ins><ul id='mqeAM'></ul><sub id='mqeAM'></sub></form><legend id='mqeAM'></legend><bdo id='mqeAM'><pre id='mqeAM'><center id='mqeAM'></center></pre></bdo></b><th id='mqeAM'></th></span></q></dt></tr></i><div id='mqeAM'><tfoot id='mqeAM'></tfoot><dl id='mqeAM'><fieldset id='mqeAM'></fieldset></dl></div>

            <tbody id='mqeAM'></tbody>

                <bdo id='mqeAM'></bdo><ul id='mqeAM'></ul>

                • <tfoot id='mqeAM'></tfoot>
                • <legend id='mqeAM'><style id='mqeAM'><dir id='mqeAM'><q id='mqeAM'></q></dir></style></legend>
                • 本文介绍了Python有没有好的依赖分析工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  依赖分析程序通过控制代码中模块之间的依赖关系来帮助我们组织代码.当一个模块是另一个模块的循环依赖时,找到一种方法将其转换为单向依赖或将两个模块合并为一个模块是一个线索.

                  Dependency analysis programs help us organize code by controlling the dependencies between modules in our code. When one module is a circular dependency of another module, it is a clue to find a way to turn that into a unidirectional dependency or merge two modules into one module.

                  Python代码最好的依赖分析工具是什么?

                  What is the best dependency analysis tool for Python code?

                  推荐答案

                  我推荐使用 snakefood 来创建图形Python 项目的依赖关系图.它可以很好地检测依赖关系,以便立即查看需要重构的区域.如果您阅读一些文档,它的用法非常简单.

                  I recommend using snakefood for creating graphical dependency graphs of Python projects. It detects dependencies nicely enough to immediately see areas for refactorisation. Its usage is pretty straightforward if you read a little bit of documentation.

                  当然,您可以省略图形创建步骤,而是在文件中接收依赖字典.

                  Of course, you can omit the graph-creation step and receive a dependency dictionary in a file instead.

                  这篇关于Python有没有好的依赖分析工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  env: python: No such file or directory(env: python: 没有这样的文件或目录)
                  How to evaluate environment variables into a string in Python?(如何在 Python 中将环境变量评估为字符串?)
                  Python - temporarily modify the current process#39;s environment(Python - 临时修改当前进程的环境)
                  Change current process environment#39;s LD_LIBRARY_PATH(更改当前进程环境的 LD_LIBRARY_PATH)
                  Reading and writing environment variables in Python?(在 Python 中读写环境变量?)
                  When to use sys.path.append and when modifying %PYTHONPATH% is enough(何时使用 sys.path.append 以及何时修改 %PYTHONPATH% 就足够了)
                    <tfoot id='OSy5t'></tfoot>

                          <i id='OSy5t'><tr id='OSy5t'><dt id='OSy5t'><q id='OSy5t'><span id='OSy5t'><b id='OSy5t'><form id='OSy5t'><ins id='OSy5t'></ins><ul id='OSy5t'></ul><sub id='OSy5t'></sub></form><legend id='OSy5t'></legend><bdo id='OSy5t'><pre id='OSy5t'><center id='OSy5t'></center></pre></bdo></b><th id='OSy5t'></th></span></q></dt></tr></i><div id='OSy5t'><tfoot id='OSy5t'></tfoot><dl id='OSy5t'><fieldset id='OSy5t'></fieldset></dl></div>
                          • <bdo id='OSy5t'></bdo><ul id='OSy5t'></ul>
                          • <small id='OSy5t'></small><noframes id='OSy5t'>

                              <tbody id='OSy5t'></tbody>
                            <legend id='OSy5t'><style id='OSy5t'><dir id='OSy5t'><q id='OSy5t'></q></dir></style></legend>