Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #109773

Re: Tie dictionary to database table?

From "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de>
Newsgroups comp.lang.python
Subject Re: Tie dictionary to database table?
Date 2016-06-10 07:30 +0000
Message-ID <drv8l8Fb7nnU1@mid.individual.net> (permalink)
References <drt5r8Ft1maU1@mid.individual.net> <CAO1D73Hb9_guWHxjer226APrFqTFM3eCWxmW4570Hpt5smvFmQ@mail.gmail.com> <CAGgTfkN6vSY-hSSqmRjxioOYJGDrO6HshNLHJGPtM_tOB8wdFw@mail.gmail.com> <mailman.126.1465512052.2306.python-list@python.org>

Show all headers | View raw


Michael Selik <michael.selik@gmail.com> wrote:
>On Thu, Jun 9, 2016 at 9:10 AM justin walters <walters.justin01@gmail.com>
>wrote:

>> It looks like you might be looking for an ORM. Have you checked out
>> sqlalchemy?
>>

>An ORM might be overkill. If you just want a persistent dictionary, just
>use the shelve module. https://docs.python.org/3/library/shelve.html
That looks like tie in Perl. Unfortunately I have to use mysql as database
and I need concurrent read/write as the table may be modified by other
processes.
Meanwhile I have analized my demans a bit and modified the task so that I
need not read values but rather make updates to the tables.



-- 
Dipl.-Inform(FH) Peter Heitzer, peter.heitzer@rz.uni-regensburg.de

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Tie dictionary to database table? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-06-09 12:30 +0000
  Re: Tie dictionary to database table? justin walters <walters.justin01@gmail.com> - 2016-06-09 06:09 -0700
  Re: Tie dictionary to database table? Michael Selik <michael.selik@gmail.com> - 2016-06-09 22:40 +0000
    Re: Tie dictionary to database table? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-06-10 07:30 +0000
      Re: Tie dictionary to database table? Christian Gollwitzer <auriocus@gmx.de> - 2016-06-10 09:38 +0200
        Re: Tie dictionary to database table? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-06-10 10:56 +0000
          Re: Tie dictionary to database table? Peter Otten <__peter__@web.de> - 2016-06-10 14:25 +0200
  Re: Tie dictionary to database table? Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-16 20:59 -0700

csiph-web