dbf.py API question

Ethan Furman ethan at stoneleaf.us
Thu Aug 2 17:55:48 CEST 2012


SQLite has a neat feature where if you give it a the file-name of 
':memory:' the resulting table is in memory and not on disk.  I thought 
it was a cool feature, but expanded it slightly: any name surrounded by 
colons results in an in-memory table.

I'm looking at the same type of situation with indices, but now I'm 
wondering if the :name: method is not pythonic and I should use a flag 
(in_memory=True) when memory storage instead of disk storage is desired.

Thoughts?

~Ethan~


More information about the Python-list mailing list