Python - Excel 파일의 열 너비를 자동으로 조정합니다. Newbie - 지정된 값에 따라 Excel 파일의 다른 열 너비를 조정하는 Python 스크립트를 가지고 있습니다. import openpyxl from string import ascii_uppercase newFile = "D:\Excel Files\abc.xlsx" wb = openpyxl.load_workbook(filename = newFile) worksheet = wb.active for column in ascii_uppercase: if (column=='A'): worksheet.column_dimensions[column].width = 30 elif (column=='B'): worksheet.column_dimen..