Hello,

am using xlwt module to create xls file with multiple sheets and i
want to display Content disposition with the created file.

 wbk = xlwt.Workbook(encoding='utf-8')
 sheet = workbook.add_sheet('sheet1')

and then

 response.headers['Content-Type'] = \
    gluon.contenttype.contenttype('.xls')
response.headers['Content-disposition'] = 'attachment;
filename=projects.xls'

how can i make the content of wbk inside projects.xls?

Thanks in Advance

Neveen Adel

Reply via email to