在python中執行shell命令

1.difflib模塊 import difflib file1 = ‘/etc/passwd’ file2 = ‘/tmp/passwd’ with open(file1) as f1, open(file2) as f2: text1 = f1.readlines( ) text2 = f2.readlines( ) d = difflib.HtmlDiff( ) with open(「pas
相關文章
相關標籤/搜索