如何使用保存在 sample.txt 中的 jython 删除 top=2 和 bottom=1 的 n 行。我的文件大小可能是 MB/GB。
sample.txt 包含以下行
1,a 2,b 3,c 4,d 5,e 6,f
预期输出:
3,c 4,d 5,e
如何使用保存在 sample.txt 中的 jython 删除 top=2 和 bottom=1 的 n 行。我的文件大小可能是 MB/GB。
sample.txt 包含以下行
1,a 2,b 3,c 4,d 5,e 6,f
预期输出:
3,c 4,d 5,e