Creating a directory structure and modifying files automatically in Python

Steve Howell showell30 at yahoo.com
Tue May 8 00:09:33 EDT 2012


On May 7, 8:46 pm, John Nagle <na... at animats.com> wrote:
> On 5/6/2012 9:59 PM, Paul Rubin wrote:
>
> > Javier<nos... at nospam.com>  writes:
> >> Or not... Using directories may be a way to do rapid prototyping, and
> >> check quickly how things are going internally, without needing to resort
> >> to complex database interfaces.
>
> > dbm and shelve are extremely simple to use.  Using the file system for a
> > million item db is ridiculous even for prototyping.
>
>     Right.  Steve Bellovin wrote that back when UNIX didn't have any
> database programs, let alone free ones.
>

It's kind of sad that the Unix file system doesn't serve as an
effective key-value store at any kind of nontrivial scale.  It would
simplify a lot of programming if filenames were keys and file contents
were values.







More information about the Python-list mailing list