update
This commit is contained in:
parent
661604b9a6
commit
c053fa9862
2
main.py
2
main.py
@ -197,7 +197,7 @@ def process_lines_in_batches(lines, batch_size):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
task_file = "input.txt"
|
task_file = "input.txt"
|
||||||
batch_size = 3 # 每个线程处理的行数
|
batch_size = 3 # 每个线程处理的行数
|
||||||
|
|
||||||
lines = read_lines_from_file(task_file)
|
lines = read_lines_from_file(task_file)
|
||||||
process_lines_in_batches(lines, batch_size)
|
process_lines_in_batches(lines, batch_size)
|
||||||
|
|
||||||
print("finish, 程序结束...")
|
print("finish, 程序结束...")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user