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


Groups > de.comp.lang.python > #4547

Re: [Python-de] Wie Key-Value Sets speichern?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Andreas Jung <lists@zopyx.com>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] Wie Key-Value Sets speichern?
Date Wed, 28 Sep 2016 03:36:51 +0200
Lines 57
Message-ID <mailman.50.1475026620.2302.python-de@python.org> (permalink)
References <5451e46e-5eca-e89d-61ef-2030e6aee36e@xgm.de> <42e7d3e5-3dd7-f835-8d49-bfff223e47b4@procoders.net> <22014CF1-3481-4FA3-8585-8F9943FAFF84@zopyx.com>
Mime-Version 1.0 (1.0)
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de cv848XI1+VWG6REaScjkiQwKMqIoCuuFNFGabsBbX4iQ==
Return-Path <lists@zopyx.com>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
X-Mailer iPad Mail (14B55c)
In-Reply-To <42e7d3e5-3dd7-f835-8d49-bfff223e47b4@procoders.net>
X-Df-Sender aW5mb0B6b3B5eC5uZXQ=
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <22014CF1-3481-4FA3-8585-8F9943FAFF84@zopyx.com>
X-Mailman-Original-References <5451e46e-5eca-e89d-61ef-2030e6aee36e@xgm.de> <42e7d3e5-3dd7-f835-8d49-bfff223e47b4@procoders.net>
Xref csiph.com de.comp.lang.python:4547

Show key headers only | View raw


JSON!



Regards
Andreas Jung
-----
Sorry for being brief - sent from a mobile device.

> Am 28.09.2016 um 01:03 schrieb Achim Domma <domma@procoders.net>:
> 
> Json!?
> 
>> On Wednesday, 28 September, 2016 12:09 AM, Florian Lindner wrote:
>> Hallo,
>> 
>> ich schreibe Werte aus einer C++ Anwendung, gespeichert als std::map<string, T> in eine Datei.
>> 
>> Dabei will ich folgendes:
>> 
>> - Die Datei soll menschen-lesbar sein
>> 
>> - Es sollen mehrere Sets von Key-Value Paaren gespeichert werden, z.B. eins pro Run.
>> 
>> - Die Paar varieren pro Set. CSV scheidet deshalb aus, da es es für die gesamte Datei das gleiche Datenformat annimmt
>> (wenn man die erste Zeile als Header, für die Keys verwendet)
>> 
>> - Eingelesen werden soll es mit Python um dann z.B. mit numpy weiterverarbeitet werden.
>> 
>> Wie würde nun ein geeignetes Datenformat ausschauen, was ich dann auch problemlos mit Python einlesen kann?
>> 
>> CSV mit Trennlinie?
>> 
>> A;B;C
>> AValue;BValue;CValue
>> =====
>> A;D;Y
>> AVal,DVal,YVal
>> =====
>> ...
>> 
>> 
>> Viele Grüße,
>> Florian
>> _______________________________________________
>> python-de maillist  -  python-de@python.org
>> https://mail.python.org/mailman/listinfo/python-de
>> 
> _______________________________________________
> python-de maillist  -  python-de@python.org
> https://mail.python.org/mailman/listinfo/python-de

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] Wie Key-Value Sets speichern? Andreas Jung <lists@zopyx.com> - 2016-09-28 03:36 +0200

csiph-web