Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.025 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'memory.': 0.05; 'python': 0.09; 'sep': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'rivet': 0.16; 'storing': 0.16; 'subject:simple': 0.16; 'tuples,': 0.16; 'wrote:': 0.17; 'appropriate': 0.20; 'received:209.85.214.174': 0.21; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'structures': 0.27; 'message-id:@mail.gmail.com': 0.27; 'dictionary': 0.29; 'basic': 0.30; "aren't": 0.33; 'subject:data': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'why': 0.37; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'information': 0.63; 'more': 0.63; 'contact': 0.68; 'million': 0.72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0Gfhc7MuiQ3yFlVDqh83vYSY/zNTiED/+G999QYGb48=; b=U7cXMO+z6zvw6dEfjSSI6m/cvlg8Y+UXr0NeWz55KoMPCIoJgxMWyCkrqVwh+dlmnV 4emcNfLFHtwEeVbJJq8Wizrz9CPk33TfRXGuL+bODnOcoDCaok+1rlXuf1/5Pgp/ZISq fxnbsOJt8N/sfllb0pt8Kxh0paaSLTiueWl+SGwiBsckL7suJvceJggNM3+Qowrq8KMZ 0eWrG+rcumJo6/0+G4nsDP9umGxoaQL9MB9jKEXq0x0rk9JCgF21ZiFvW+/PEqqDR+J9 eIpF4WKmd+uAUvffVLnguUUWzv2lyI5DjNgGG/cf2USiMBEaQrRkrfj/630FTxJL8bbc F16w== MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 4 Sep 2012 00:28:50 +1000 Subject: Re: simple client data base From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346682533 news.xs4all.nl 6940 [2001:888:2000:d::a6]:54704 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28354 On Tue, Sep 4, 2012 at 12:12 AM, Mark R Rivet wrote: > I have been reading about lists, tuples, and dictionary data > structures in python and I am confused as to which would be more > appropriate for a simple database. I think you're looking at this backwards. A database is for storing information on disk, but lists/tuples/dicts are for manipulating it in memory. You may also be needlessly reinventing the wheel. Aren't there already several million basic contact databases around? Why roll your own? ChrisA