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


Groups > comp.lang.python > #16281

Re: my new project, is this the right way?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <anacrolix@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'retrieved': 0.05; 'stuff.': 0.05; 'sqlite': 0.07; 'python': 0.08; 'correct.': 0.09; 'deletion': 0.09; 'relational': 0.09; 'to:addr:comp.lang.python': 0.09; 'am,': 0.12; 'library': 0.13; 'stored': 0.13; 'beginning.': 0.16; 'csv)': 0.16; 'dbms': 0.16; 'idea:': 0.16; 'mission:': 0.16; 'received:209.85.213.174': 0.16; 'received:mail- yx0-f174.google.com': 0.16; 'with?': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'convert': 0.19; 'cc:no real name:2**0': 0.20; 'suggest': 0.20; 'trying': 0.21; 'header:In-Reply-To:1': 0.22; 'figure': 0.23; 'similar,': 0.23; 'cc:2**0': 0.24; 'structure': 0.26; "i'm": 0.26; 'developing': 0.26; 'function': 0.27; 'all,': 0.28; 'url:mailman': 0.28; 'bit': 0.28; 'message- id:@mail.gmail.com': 0.28; '27,': 0.29; 'cc:addr:python.org': 0.29; 'second': 0.29; 'nov': 0.29; '(maybe': 0.30; 'databases,': 0.30; 'hash': 0.30; 'sun,': 0.30; 'subject:?': 0.31; "i've": 0.31; "i'll": 0.31; 'sufficient': 0.32; 'me?': 0.32; 'url:listinfo': 0.32; 'idea': 0.32; 'there': 0.33; 'mostly': 0.34; 'too': 0.34; 'subject:project': 0.34; 'thank': 0.35; 'window': 0.35; 'url:python': 0.36; 'file': 0.36; 'question': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'think': 0.37; 'replace': 0.38; 'several': 0.38; 'received:209.85': 0.38; 'url:org': 0.39; 'data,': 0.39; 'files': 0.39; "it's": 0.40; 'received:209': 0.40; 'management': 0.60; 'more': 0.61; '2011': 0.61; 'saturday,': 0.64; 'simple,': 0.64; 'p.s.': 0.67; '26,': 0.67; 'show': 0.67; 'access,': 0.74; 'subject:this': 0.74; 'lightweight': 0.84; 'rusi': 0.84; 'movies': 0.96; 'sheet': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=OvbpyBVaE+/sNp7iKWytKl7krtATj92XSm9nwjDxeD4=; b=JnIlxzmdZkzH6LdkXeCTC5yHs+pe+xa8lIChLiSmK+ycF+R/exBY1kFqVc+AAygjwH WnigdUo9hpRAEX7TWfEGENeLOe2huXylIEEAIqcFnvR4QXL9nX9d+VB8SzkjzkofRoy9 V9JhtJugxmP1cQooj5zdTapAnRpZu/+kDPKiU=
MIME-Version 1.0
In-Reply-To <11840843.114.1322350898307.JavaMail.geo-discussion-forums@prfi36>
References <4ec0f070$0$1378$4fafbaef@reader2.news.tin.it> <581dab49-e6b0-4fea-915c-4a41fa887c3b@p7g2000pre.googlegroups.com> <11840843.114.1322350898307.JavaMail.geo-discussion-forums@prfi36>
From Matt Joiner <anacrolix@gmail.com>
Date Sun, 27 Nov 2011 15:03:26 +1100
Subject Re: my new project, is this the right way?
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3070.1322366629.27778.python-list@python.org> (permalink)
Lines 57
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322366629 news.xs4all.nl 6904 [2001:888:2000:d::a6]:45773
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16281

Show key headers only | View raw


Sounds like you want a key-value store. If it's a lot of data, you may
still want a "database", I think it's just relational databases that
you're trying to avoid?

On Sun, Nov 27, 2011 at 10:41 AM, 88888 Dihedral
<dihedral88888@googlemail.com> wrote:
> On Saturday, November 26, 2011 1:01:34 AM UTC+8, rusi wrote:
>> On Nov 14, 3:41 pm, Tracubik <affdfs...@b.com> wrote:
>> > Hi all,
>> > i'm developing a new program.
>> > Mission: learn a bit of database management
>> > Idea: create a simple, 1 window program that show me a db of movies i've
>> > seen with few (<10) fields (actors, name, year etc)
>> > technologies i'll use: python + gtk
>> > db: that's the question
>> >
>> > since i'm mostly a new-bye for as regard databases, my idea is to use
>> > sqlite at the beginning.
>> >
>> > Is that ok? any other db to start with? (pls don't say mysql or similar,
>> > they are too complex and i'll use this in a second step)
>> >
>> > is there any general tutorial of how to start developing a database? i
>> > mean a general guide to databases you can suggest to me?
>> > Thank you all
>> >
>> > MedeoTL
>> >
>> > P.s. since i have a ods sheet files (libreoffice calc), is there a way to
>> > easily convert it in a sqlite db? (maybe via csv)
>>
>> To learn DBMS you need to learn sql
>> [Note sql is necessary but not sufficient for learning DBMS]
>> I recommend lightweight approaches to start with -- others have
>> mentioned access, libreoffice-base.
>> One more lightweight playpen is firefox plugin sqlite-manager
>>
>> > Is that ok? any other db to start with? (pls don't say mysql or similar,
>> > they are too complex and i'll use this in a second step)
>>
>> Correct. First you must figure out how to structure data -- jargon is
>> normalization.
>> After that you can look at transactions, ACID, distribution and all
>> the other good stuff.
>
> If I have a fast hash library  that each hash function supports insertion and deletion and can be frozen to be stored into the file system if desired and retrieved lator . Can I use several hashes to replace a database that is slow and expensive?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

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


Thread

my new project, is this the right way? Tracubik <affdfsdfdsfsd@b.com> - 2011-11-14 10:41 +0000
  Re: my new project, is this the right way? Chris Angelico <rosuav@gmail.com> - 2011-11-14 21:55 +1100
    Re: my new project, is this the right way? HoneyMonster <someone@someplace.invalid> - 2011-11-25 15:44 +0000
      Re: my new project, is this the right way? Chris Angelico <rosuav@gmail.com> - 2011-11-26 02:49 +1100
  Re: my new project, is this the right way? Redcat <redcat@catfolks.net> - 2011-11-14 15:47 +0000
  Re: my new project, is this the right way? Jon Clements <joncle@googlemail.com> - 2011-11-14 08:37 -0800
  Re: my new project, is this the right way? Miki Tebeka <miki.tebeka@gmail.com> - 2011-11-14 09:48 -0800
  Re: my new project, is this the right way? rusi <rustompmody@gmail.com> - 2011-11-25 09:01 -0800
    Re: my new project, is this the right way? Roy Smith <roy@panix.com> - 2011-11-25 12:16 -0500
      Re: my new project, is this the right way? rusi <rustompmody@gmail.com> - 2011-11-25 20:48 -0800
    Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-26 15:41 -0800
      Re: my new project, is this the right way? Dave Angel <d@davea.name> - 2011-11-26 21:35 -0500
        Re: my new project, is this the right way? Roy Smith <roy@panix.com> - 2011-11-26 21:49 -0500
          Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-26 19:14 -0800
            Re: my new project, is this the right way? Chris Angelico <rosuav@gmail.com> - 2011-11-27 14:24 +1100
            Re: my new project, is this the right way? Dave Angel <d@davea.name> - 2011-11-26 22:27 -0500
            Re: my new project, is this the right way? Roy Smith <roy@panix.com> - 2011-11-26 22:41 -0500
      Re: my new project, is this the right way? Matt Joiner <anacrolix@gmail.com> - 2011-11-27 15:03 +1100
        Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-27 00:29 -0800
          Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-27 00:49 -0800
            Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-28 00:51 -0800
            Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-28 00:51 -0800
          Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-27 00:49 -0800
        Re: my new project, is this the right way? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-27 00:29 -0800

csiph-web