which version should i use? thanks
On Feb 4, 2:22 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > It works for me > > $ python web2py.py -S test -M > ... > > >>> import StringIO > >>> s=StringIO.StringIO() > >>> db.export_to_csv_file(s) > > which version of web2py are you using? > > Massimo > > On Feb 4, 12:00 am, INeedHelp <zhang.kil...@gmail.com> wrote: > > > > > i am doing > > def export(): > > s=StringIO.StringIO() > > db.export_to_csv_file(s) > > response.headers['Content-Type']='text/csv' > > return s.getvalue() > > > when run it, i have an error > > KeyError: 'export_to_csv_file'- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---