資源簡介
python 對比不同的txt文檔數據 不同的數據在html中高亮顯示
代碼片段和文件信息
#
import?difflib
import?sys
import?re
import??json
test=‘test.txt‘
a=open(test‘r‘).read()
#b=re.match(‘info‘a)
#print(a)
b=re.search(r‘info‘a).group()
print(b?)
report=‘diff1_two_excel.html‘
b=open(test
評論
共有 條評論