반응형 openpyxl 테두리1 Openpyxl - Make a report template Let's create a report template as shown above. import datetime import openpyxl from openpyxl.styles import Border, Side, Font, Alignment, PatternFill def createExcelFile(): # Excel File Creation nowDate = 'Report Date: ' + str(datetime.datetime.now().strftime('%Y-%m-%d')) wb = openpyxl.Workbook() ws = wb.active ws.title = 'SNMP Community' # Pretty display for the File font = Font(bold=True) alig.. 2020. 7. 30. 이전 1 다음 반응형