[web2py] Re: generate CSV file with multiple sheets

2010-08-08 Thread Neveen Adel
Hello Kenneth, sorry i have just seen your message now. you can follow the following link it is a great one, i followed it: http://scienceoss.com/write-excel-files-with-python-using-xlwt/ Thanks Neveen

[web2py] Re: generate CSV file with multiple sheets

2010-08-08 Thread Neveen Adel
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('.xl

[web2py] Re: generate CSV file with multiple sheets

2010-08-08 Thread Neveen Adel
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('.xl

Re: [web2py] Re: generate CSV file with multiple sheets

2010-08-05 Thread Kenneth Lundström
Hello Neveen, could you show us how you use xlwt? I´d be very interested. Kenneth Thanks a lot mdipierro i found the module xlwt and it is very useful. Thanks On Aug 5, 4:33 pm, mdipierro wrote: rows.export_to_csv_filed(stream) you can write more stuff to the same stream. On Aug 5, 7:2

[web2py] Re: generate CSV file with multiple sheets

2010-08-05 Thread Neveen Adel
Thanks a lot mdipierro i found the module xlwt and it is very useful. Thanks On Aug 5, 4:33 pm, mdipierro wrote: > rows.export_to_csv_filed(stream) > > you can write more stuff to the same stream. > > On Aug 5, 7:29 am, Neveen Adel wrote: > > > Hello, > > >  I want to generate a csv file with m

[web2py] Re: generate CSV file with multiple sheets

2010-08-05 Thread mdipierro
rows.export_to_csv_filed(stream) you can write more stuff to the same stream. On Aug 5, 7:29 am, Neveen Adel wrote: > Hello, > >  I want to generate a csv file with multiple sheets, i used str(rows). > > Is there a way to generate multiple sheets in one file? > > Thanks in Advance > > Neveen