sqlite and TemporaryFile under Windows

Matthieu Brucher matthieu.brucher at gmail.com
Mon Oct 15 16:54:08 EDT 2007


Hi,

I want to create a temporary database that is downloaded for the net. So I
want to use a temporary file that will be deleted at the end of my program.
For this, I wanted to use tempfile.TemporaryFile. The problem with Windows
is that I can't give to sqlite3.connect() the file neither can I give its
name (if I use NamedTemporaryFile). Is there a solution somewhere ?

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071015/fc6220fe/attachment.html>


More information about the Python-list mailing list