Library Example - re
优先队列

difflib

erhuabushuo posted @ 2012年9月24日 16:12 in Python , 1592 阅读

difflib是python提供的比较序列(string list)差异的模块。

实现了三个类:
1>SequenceMatcher 任意类型序列的比较 (可以比较字符串)
2>Differ 对字符串进行比较
3>HtmlDiff 将比较结果输出为html格式.



登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter