[modify] will clear values before operation
This commit is contained in:
parent
a560e11bfb
commit
1f00d22bce
@ -158,6 +158,8 @@ def main(path, w2t):
|
|||||||
try:
|
try:
|
||||||
wb = load_workbook(path + "/iso-results.xlsx")
|
wb = load_workbook(path + "/iso-results.xlsx")
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
for i in range(3, 50):
|
||||||
|
ws.cell(row=i, column=7).value = None
|
||||||
tmpfile = f"{path}\\data.txt"
|
tmpfile = f"{path}\\data.txt"
|
||||||
except Exception as Err:
|
except Exception as Err:
|
||||||
w2t(f"发生错误:{Err}", 0, 2)
|
w2t(f"发生错误:{Err}", 0, 2)
|
||||||
|
Reference in New Issue
Block a user