바뀜

34 바이트 추가됨 ,  2022년 8월 29일 (월) 23:14
13번째 줄: 13번째 줄:  
     response["Content-Disposition"] = 'attachment; filename=' + '파일명' + '.xls'
 
     response["Content-Disposition"] = 'attachment; filename=' + '파일명' + '.xls'
 
      
 
      
 +
    # 알아서 데이터 입력.
 
     wb = xlwt.Workbook(encoding='utf-8')  # 인코딩
 
     wb = xlwt.Workbook(encoding='utf-8')  # 인코딩
 
     ws = wb.add_sheet('시트이름')
 
     ws = wb.add_sheet('시트이름')