my new project, is this the right way?
88888 Dihedral
dihedral88888 at googlemail.com
Sat Nov 26 22:14:36 EST 2011
On Sunday, November 27, 2011 10:49:20 AM UTC+8, Roy Smith wrote:
> In article <mailman.3067.1322361... at python.org>,
> Dave Angel <d... at davea.name> wrote:
>
> > If you're using Python, you already have a "fast hash" library, in the
> > dictionary class. And yes, if a problem doesn't need the full
> > generality of a database, you may be able to implement it with
> > dictionaries, and it may even be practical to store those dictionaries
> > to disk for later retrieval. However, there are quite a few reasons
> > this may not be good enough. To start with just two: if there are
> > multiple users of the database, and they have to be synched. Or if you
> > have to be safe from a program or a system crashing.
>
> This is a good point. In general, databases differ from in-memory data
> structures in that they provide:
>
> 1) Persistence
>
> 2) Data integrity
>
> 3) Shared access
Shared in access in a local lan or a wide wan?
In python there are packages can solve these easily.
More information about the Python-list
mailing list