差异产生器
Hexlet测试和棉绒状态:
用法
从命令行
usage: gendiff [-h] [-f FORMAT] first_file second_file
Generate diff
positional arguments:
first_file
second_file
optional arguments:
-h, --help show this help message and exit
-f FORMAT, --format FORMAT
set format of output
从python
import gendiff
style = "plain" # ["stylish (default)" | "plain" | "json"]
output = gendiff .