Bob Ippolito wrote: > def upload_form(self, formfile): > import tempfile > import shutil > from pysqlite2 import dbapi2 as sqlite > > newfile = tempfile.NamedTemporaryFile() > shutil.copyfileobj(formfile.file, newfile) > newfile.flush() > con = sqlite.connect(newfile.name)
Looks good to me boss, I'll give it a test when I find out how to relate my Posts! Cheers -Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

