diff algorithm implementation in python

大兔子大兔子 提交于 2019-12-02 01:55:12

问题


Hi all: I checked out the source code of Python 2.6, and I want to study the diff implementation in python. However, I can not find the right source file. Could any one give me some information which source file contained the algorithm implementation in Python

Thanks for any information!


回答1:


If by "diff implementation in Python" you mean the difflib module, then here is the source.

There is also a simple diff implementation based on this module in the Python source distribution.



来源:https://stackoverflow.com/questions/5897983/diff-algorithm-implementation-in-python

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!