Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4324
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!feedme.news.telefonica.de!telefonica.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "Massa, Harald Armin" <chef@ghum.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Schleifen die ohne Durchlaufen des Schleifenkörpers beendet wurden |
| Date | Thu, 24 Mar 2016 21:45:47 +0100 |
| Lines | 34 |
| Message-ID | <mailman.108.1458852375.2244.python-de@python.org> (permalink) |
| References | <56F445C9.3000200@mail.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de FNB6+Ir5/ULF3hRizbb+xwmoOTiq+YQTQbNLmJnRbJdA== |
| Return-Path | <chef@ghum.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=ghum-de.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ff4KOTTydseZo5POKgguCthT3IMA5KxHQhQ/vn/iWOg=; b=GgxYm9IlBDlKNtv4QIeZ5PdTksPZ4QfGWxbxV089QSRtpES1w2edIIDCS0PbPmEPEg +4Bbk9ywp3pJmB3zZBw4WWYUks2d/vTe4CqvVrKFcSV98XNv3YiSaLUCjE445dfbY7o6 QJYeCMFu4Rl1DNNyNJhRlgdlEDlx6qXGBxh1tTFn6vp8OI2aVZ9G5PLxLU5xZhCZ/tXV XLdxwd6bsJPXzCa/UCRVNylgprl4BvJmsNrhHfAWYXK5OWJry7Q/k8UuPee2i5zz5c2Z 9qDQvKTfrb0tvTkhsKgonIBGVPrDXu4XQYmuPBtzpknP5LkmlwQsxH4L16InDCQQv1PQ KZwA== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ff4KOTTydseZo5POKgguCthT3IMA5KxHQhQ/vn/iWOg=; b=aj/3yAU/v1uNtC3omn0xnoVA4suLykwMiIs37sYMez5og68jsB0b01iuCX0ibvf0Jl pauPX6KCzpfQN8NsQXSD9U0DDLyh7sYVt+HUk6MtJVEKdJgcrcj+N2I5xmvdkJus8ErZ s1Iyw84ifROykNP3P6etDxLQFoLI5nMa/oqWfKkewYFnlL0NpuuoOvy5qdjoyWNdjjFo WUvYsrZSlGWbRH3JxCumwazDw6zxxWyfrxziGDxpaoeovtZHcxotrLeXIc5bfM/upu7r z9citaVSGETmJJLxp4Gfhgf5JZq+b7sIJkfdR52sje0Hdxp1QTtrNqyvv7O1/Et9gBHO cYwQ== |
| X-Gm-Message-State | AD7BkJJOpOiPT7gR9Ko0Babwm/j8XBe7dba97ioMQcM1C3XHYnr7WLMWZj4M5jdOBVd7LcNe0LJS6uZXraJ/RA== |
| X-Received | by 10.157.27.197 with SMTP id v5mr4991942otv.4.1458852366797; Thu, 24 Mar 2016 13:46:06 -0700 (PDT) |
| In-Reply-To | <56F445C9.3000200@mail.de> |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21 |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.21 |
| 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> |
| Xref | csiph.com de.comp.lang.python:4324 |
Show key headers only | View raw
>
>
> for item in collection:
> # do for item
> empty:
> # do when collection is empty
>
>
collection=[]
for item in collection:
print item
else:
print "allways read the documentation"
probier das mal... Guido hat Dein Keyword per Zeitmaschine schon in 2.7
eingebaut.
Gruß
Harald
--
GHUM GmbH
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
Amtsgericht Stuttgart, HRB 734971
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] Schleifen die ohne Durchlaufen des Schleifenkörpers beendet wurden "Massa, Harald Armin" <chef@ghum.de> - 2016-03-24 21:45 +0100
csiph-web