Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29914
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <prvs=60761e219=jeanmichel@sequans.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'frameworks': 0.05; 'that?': 0.05; 'python': 0.09; 'advice.': 0.09; 'app,': 0.09; 'objects.': 0.09; 'sqlite': 0.09; 'files.': 0.13; 'to:name:python- list': 0.15; 'reasonable.': 0.16; 'admin': 0.18; 'handles': 0.18; 'code,': 0.18; 'app': 0.19; 'discussion': 0.20; 'exists.': 0.22; 'mention': 0.23; 'player': 0.23; 'header:In-Reply-To:1': 0.25; 'subject:information': 0.27; 'interface': 0.27; 'clever': 0.29; 'information;': 0.29; 'that.': 0.30; 'basic': 0.30; 'stuff': 0.30; '-----': 0.32; 'could': 0.32; 'to:addr:python-list': 0.33; 'knowledge': 0.33; 'thanks': 0.34; 'there': 0.35; 'list.': 0.35; 'data.': 0.36; 'drop': 0.37; 'subject:: ': 0.38; 'store': 0.38; 'mean': 0.38; 'object': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'build': 0.39; 'think': 0.40; 'your': 0.60; 'most': 0.61; 'received:194': 0.61; 'everything,': 0.84; 'subject:around': 0.84; 'working,': 0.84 |
| X-IronPort-AV | E=Sophos;i="4.80,476,1344204000"; d="scan'208";a="748270" |
| X-Virus-Scanned | amavisd-new at zimbra.sequans.com |
| Date | Mon, 24 Sep 2012 17:47:43 +0200 (CEST) |
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| To | python-list <python-list@python.org> |
| In-Reply-To | <50607AD5.3090702@tysdomain.com> |
| Subject | Re: keeping information about players around |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Mailer | Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC7 (Linux)/7.2.0_GA_2669) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.1198.1348501646.27098.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1348501646 news.xs4all.nl 6927 [2001:888:2000:d::a6]:56987 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:29914 |
Show key headers only | View raw
----- Original Message ----- > >Pickle everything, use sqllite for your database. When you get > >things > working, then you can start measuring your performances and think > >about > clever implementation > That was a bunch of information; sorry about that. what do you mean > by > using sqlite for the database? Currently I just drop everything into > files. Is there a better way to do that? > Thanks for your advice. Please keep the discussion on list. If you have a basic knowledge of databases, sure you could use a sqlite database to store you persistent objects. That's pretty reasonable. Not to mention a lot of stuff can interface with that database. If you want to build a web app to manage the player database, you can, most of the frameworks handles sqlite. Actually if you don't need a web app, a lot of sqlite admin app already exists. Note that the database is suitable only for the data. For serializing a python object with its code, you need pickle. JM
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: keeping information about players around Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-09-24 17:47 +0200
csiph-web