Yes, I can write also to StringIO. I tried something like this:
xlfile = StringIO() wb.save(xlfile) But anyhow I get the same error message - since GAE seems to not like certain file opening modes: raise IOError('invalid mode: %s' % mode) IOError: invalid mode: wb yejun wrote: > If pyExcelrator can save data to file, I guess it would possibly save > to StringIO as well. > > On Nov 12, 12:51�pm, "Calvin Spealman" <[EMAIL PROTECTED]> wrote: > > Consider looking at anything the docs api provides to generate spreadsheets, > > from which your users could export a number of formats (or possibly you > > could) or just give them csv > > > > On Nov 12, 2008 12:34 PM, "Masa" <[EMAIL PROTECTED]> wrote: > > > > I'd like to experiment with a site creating some statistical figures > > on the fly. People could see them on the website, but for offline > > analysis it'd be extremely important also to offer the statistics as > > downloadable, customized files. > > > > I've already solved how the create the information content. The > > problem I have at the moment is how to provide the users a way to > > download the statistics as an Excel file. I've experimented with > > pyExcelrator and can get a desired outcome with it. The problem with > > GAE is that I can't save the outcome Excel to be downloaded as file. > > > > If I could someway, get the result of pyExcelrator to Blob instead of > > file, I could easily offer it as a downloadable file. Do you think > > that is possible to do somehow? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---