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


Groups > comp.lang.python > #25347

Re: [OT] Simulation Results Managment

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'subject:: [': 0.03; 'objects,': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'scripts,': 0.09; 'looked': 0.10; '(rather': 0.16; 'decode': 0.16; 'message-id:@dough.gmane.org': 0.16; 'play.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'retrieving': 0.16; 'stored.': 0.16; 'storing': 0.16; 'wrote:': 0.17; 'subject:] ': 0.19; 'addition,': 0.21; 'effort.': 0.22; 'proprietary': 0.23; 'non': 0.24; 'header:User-Agent:1': 0.26; '(e.g.': 0.27; 'set.': 0.27; 'header:X-Complaints-To:1': 0.28; 'pickle': 0.29; 'writes:': 0.29; 'objects': 0.29; 'classes': 0.30; 'that.': 0.30; '(and': 0.32; 'received:comcast.net': 0.33; 'to:addr:python-list': 0.33; 'knowledge': 0.33; 'typically': 0.33; 'formats': 0.35; 'something': 0.35; 'received:org': 0.36; 'should': 0.36; 'too': 0.36; 'does': 0.37; 'rather': 0.37; 'data': 0.37; 'store': 0.38; 'object': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'easy': 0.60; 'different': 0.63; 'great': 0.64; 'results': 0.65; 'advantages': 0.71; 'email addr:yahoo.co.uk': 0.84; 'subject:Results': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Neal Becker <ndbecker2@gmail.com>
Subject Re: [OT] Simulation Results Managment
Date Sun, 15 Jul 2012 07:24:59 -0400
References <4834becc-783a-4af2-b94a-2b95c39d6be3@googlegroups.com> <mailman.2122.1342312974.4697.python-list@python.org> <16cb8524-63ad-4755-93e2-3f45e98c9af5@googlegroups.com> <87k3y5h6qp.fsf@handshake.de>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host c-68-33-202-49.hsd1.md.comcast.net
User-Agent KNode/4.8.4
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.2137.1342351513.4697.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1342351513 news.xs4all.nl 6856 [2001:888:2000:d::a6]:41015
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25347

Show key headers only | View raw


Dieter Maurer wrote:

> moogyd@yahoo.co.uk writes:
>> ...
>> Does pickle have any advantages over json/yaml?
> 
> It can store and retrieve almost any Python object with almost no effort.
> 
> Up to you whether you see it as an advantage to be able to store
> objects rather than (almost) pure data with a rather limited type set.
> 
> 
> Of course, "pickle" is a proprietary Python format. Not so easy to
> decode it with something else than Python. In addition, when
> you store objects, the retrieving application must know the classes
> of those objects -- and its knowledge should not be too different
> from how those classes looked when the objects have been stored.
> 
> 
> I like very much to work with objects (rather than with pure data).
> Therefore, I use "pickle" when I know that the storing and retrieving
> applications all use Python. I use pure (and restricted) data formats
> when non Python applications come into play.

Typically what I want to do is post-process (e.g. plot) results using python 
scripts, so using pickle is great for that.

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


Thread

[OT] Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-13 22:50 -0700
  Re: [OT] Simulation Results Managment Neal Becker <ndbecker2@gmail.com> - 2012-07-14 20:42 -0400
    Re: [OT] Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-14 22:29 -0700
      Re: [OT] Simulation Results Managment Dieter Maurer <dieter@handshake.de> - 2012-07-15 08:35 +0200
        Re: Simulation Results Managment rusi <rustompmody@gmail.com> - 2012-07-15 09:20 -0700
          Re: Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-17 01:20 -0700
      Re: [OT] Simulation Results Managment Neal Becker <ndbecker2@gmail.com> - 2012-07-15 07:24 -0400
    Re: [OT] Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-14 22:29 -0700
  Re: Simulation Results Managment rusi <rustompmody@gmail.com> - 2012-07-14 20:25 -0700
    Re: Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-14 22:26 -0700

csiph-web