sqlite and TemporaryFile under Windows

Matthieu Brucher matthieu.brucher at gmail.com
Mon Oct 15 23:05:20 CEST 2007


>
> Are you aware that you can do an in-memory database (IOW no file at all)?
>
> cur = sqlite.connect(":memory:")
>

Yes, but in this case, how can I use the DB that I downloaded from the net ?
If this is the way of using sqlite, it is still cumbersome as a lot of other
classes that work on files can work on file-like (and isn't it the whole
point of Python ;) ?

Thank you for your fast answer

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


More information about the Python-list mailing list