sqlite and TemporaryFile under Windows
matthieu.brucher at gmail.com
Mon Oct 15 22:54:08 CEST 2007
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list