pyXLWriter - grid lines and if formula

Luis P. Mendes luis_lupe2XXX at netvisaoXXX.pt
Mon Jul 10 07:59:03 EDT 2006


Waldemar Osuch escreveu:
> Luis P. Mendes wrote:
>> Gregory Piñero escreveu:
>>> On 7/7/06, Luis P. Mendes <luis_lupe2XXX at netvisaoxxx.pt> wrote:
>>>> Hi,
>>>>
>>>> I know that pyExelerator is the supported project now, but I can't use
>>>> it because I'd need it to generate files from a web platform. Since I
>>>> can not save a file to a file-like object, I have to use pyXLWriter.
> 
>> So, perhaps you could show me how to generate an excel file as a http
>> response in django?
> 
> If it is a simple one sheet Workbook you can produce HTML document with
> a table and set the headers to indicate it is Excel.
> 
> Content-Type: application/vnd.ms-excel
> Content-Disposition: attachment;filename=report.xls
> 
> Lookup documentation on how to generate formula:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoffxml/html/ofxml2k.asp
> 
> Waldemar
> 
Thanks, but it's a workbook with several sheets.

Luis P. Mendes



More information about the Python-list mailing list