mirror of
https://github.com/xenia-project/xenia.git
synced 2024-11-27 21:41:09 +00:00
9 lines
185 B
Python
9 lines
185 B
Python
|
import difflib
|
||
|
import sys
|
||
|
|
||
|
diff = difflib.unified_diff(
|
||
|
open(sys.argv[1]).readlines(),
|
||
|
open(sys.argv[2]).readlines())
|
||
|
with open(sys.argv[3], 'w') as f:
|
||
|
f.write(''.join(diff))
|