views:

355

answers:

3

I want to create an excel sheet using Google App Engine in python.

my application datastore contains the data of company details like

name, business, website,..etc.,.

i want to put those details in an excel sheet, is it possible to generate excel file in Google App Engine using python.

can anybody help me!

A: 

You can use pyexcelerator to generate excel files

TuxGeek
i tried it, but i am getting error at wb.save('output.xls')in http://www.developer.com/lang/other/article.php/10942_3727616_1
Srikanth
and i also dont know will app Engine support this "from django.http import HttpResponse " or not in http://www.developer.com/lang/other/article.php/10942_3727616_2
Srikanth
have a look at http://uniqueculture.net/?p=81
TuxGeek
+3  A: 

You can't write to the filesystem in App Engine, so pyexcelerator's save function obviously won't work.

You'll want to take the data pyexcelerator's generating, and instead of writing it to a file either save it as a blob in the Datastore or return it directly to the user's browser.

Wooble
+1  A: 

You may like to consider xlwt, a fork of pyExcelerator with bug-fixes and on-going enhancements. See http://pypi.python.org/pypi/xlwt ... disclosure: I'm the maintainer of xlwt.

John Machin