Die Suche ergab 3 Treffer
- Montag 27. April 2009, 14:54
- Forum: Allgemeine Fragen
- Thema: Formate in Record Array
- Antworten: 5
- Zugriffe: 1094
Danke, das sind auf jeden Fall wichtige Dinge. Ich habe es geschafft die Formate mit myformat = dict( type = str.format(mlab.FormatString()), file = str.format(mlab.FormatInt()), runnumber = str.format(mlab.FormatFloat(2)), peakelutiontime = str.format(mlab.FormatFloat(5)) ... ) zu kreieren und soga...
- Montag 27. April 2009, 08:42
- Forum: Allgemeine Fragen
- Thema: Formate in Record Array
- Antworten: 5
- Zugriffe: 1094
Hi, vielen Dank schonmal für Dein Interesse! das zu lesende File sieht (gekürzt) so aus: file runnumber peakelutiontime peaktype orgpeaknumber rt majorheight minorheight 20090210_AirControle_SimpleLoop_23STP_69 69 1234267681 Sample 2.0 2228.0 1.62857 0.000597055 20090210_AirControle_SimpleLoop_23STP...
- Freitag 24. April 2009, 16:01
- Forum: Allgemeine Fragen
- Thema: Formate in Record Array
- Antworten: 5
- Zugriffe: 1094
Formate in Record Array
Hallo, ich bin recht neu in Python und benutze zum ersten mal Record Arrays. Ich kann ein csv file mit csv2rec einlesen und mit rec2csv erfolgreich wieder schreiben. Leider gehen mir dabei sämtliche Formate verloren. Ich habe strings, integers, floats und am liebsten würde ich unterschiedlich viele ...