Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4547
| From | Andreas Jung <lists@zopyx.com> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Wie Key-Value Sets speichern? |
| Date | 2016-09-28 03:36 +0200 |
| 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> |
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
Re: [Python-de] Wie Key-Value Sets speichern? Andreas Jung <lists@zopyx.com> - 2016-09-28 03:36 +0200
csiph-web