4 Jul
2005
4 Jul
'05
1:34 p.m.
Ab Python 2.2: neueliste = [ x[0] for x in alteliste ]
Danke!
Ab Python 2.4 auch al Generator: neueliste = ( x[0] for x in alteliste )
Leider muss es auch mit Python 2.3 laufen. Eigentlich verstehe ich auch den Sinn der Generatoren nicht. Sind sie schneller/effektiver als die anderen Konstrukte? 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
6863
Age (days ago)
6863
Last active (days ago)
2 comments
3 participants
participants (3)
-
Harald Armin Massa
-
Hartmut Goebel
-
Henning.Ramm@mediapro-gmbh.de