Step 1.
Read 'Equote'...'=>
if model type > 3
then => create 4 sheet.
else => create 1 sheet.
ws1 = wb.create_sheet("Mysheet", 0)
ws2 = wb.create_sheet("Mysheet", 1)
ws3 = wb.create_sheet("Mysheet", 2)
ws4 = wb.create_sheet("Mysheet", 3)
https://openpyxl.readthedocs.io/en/stable/tutorial.html
What's input? If you write down what output you want in detail, I think I can write a more kind answer.
© 2024 OneMinuteCode. All rights reserved.