Der Haken ist, dass die Reihenfolge der Einträge in einem dict undefiniert ist. Und was passiert, wenn in dem 2D array eine ganze Zeile fehlt?
Guter Einwand, hatte ich mal wieder übersehen. #-/ Mit einer Liste passt es auch nicht, weil zwischendurch Elemente unbelegt sein dürfen müssen. Müsste ich mir also ein sortiertes Dict basteln. Zum Glück brauche ich die Funktion nicht unbedingt. ;-) Grüße vom Südsee! Henning Hraban Ramm Südkurier Medienhaus / MediaPro Systembetreuung / Systementwicklung _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
Am Donnerstag, 18. August 2005 18:50 schrieb Henning.Ramm@mediapro-gmbh.de: Guten Abend Henning,
Der Haken ist, dass die Reihenfolge der Einträge in einem dict undefiniert ist. Und was passiert, wenn in dem 2D array eine ganze Zeile fehlt?
Guter Einwand, hatte ich mal wieder übersehen. #-/ Mit einer Liste passt es auch nicht, weil zwischendurch Elemente unbelegt sein dürfen müssen. warum fügst Du für unbelegte Elemente nicht einfach None ein?
Mit freundlichen Grüßen Albert _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
participants (2)
-
Albert Hermeling
-
Henning.Ramm@mediapro-gmbh.de