Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5172
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Frank Grellert <grellert@web.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] automatischer import fallback |
| Date | Mon, 28 May 2018 23:02:52 +0200 |
| Lines | 48 |
| Sender | frank.grellert@gmail.com |
| Message-ID | <mailman.27.1527541395.2804.python-de@python.org> (permalink) |
| References | <0d867129-e025-508e-c1e3-81415b4039ff@redcor.ch> <CABTCcyYfMNiYZ+i66UWWmtZ9OO9u1W2_WGocRhCWuqP4LWHATg@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de hzFADYwu3DePnCuW9cJsyQNHm3lIOK7s67Z0LJmDATKw== |
| Return-Path | <frank.grellert@gmail.com> |
| 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=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=5h8kVGT7aA6UjdJn2l9LU2KmHxC2FSKZHCONgLzxCqQ=; b=o6Tdi9d21yLgLc4V3/WGXX0yYOrboBEMPoSHJPHBDMaqW24F1EdKr962mz5FOSR85u nITO0gXiPZkAA3REfhfSKRCI7UzRXky3h8w3CUbTrQ2FfHfWDpjRuB5ky57RodqrZpZb 6BgU2e3iWNJKcExRlAc3JzGUzvKOF6einXr1bbCRPZqIXyAwhV1T0VQ3Z4vstb7Ytomw 3UBuW8LJ4A58hABh51AQAGMP30VcDImys1hzzqFXJxMEobAU7iwJjYogzeFTu5SPtY7N /9CkN8TiHOluYajLmVQzrK25akM5/VK6A3SXlYIVmghOPgyKd/7/PkjmpcsP+3mzFOyr Wgew== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=5h8kVGT7aA6UjdJn2l9LU2KmHxC2FSKZHCONgLzxCqQ=; b=HFJOf+5Q/NrVyPG9DyedaCBfhqcAQKjGFpIg2oLSMwQFdBrNCG0J558XYi/d8nxstG hZjnK7RFnVpMneBCs9iNmbTdeZ9fj4AIX35sXFPRmao+9jLDFy0cP4VYyUAxFNYkS3/E gx01Lv3HoWGD2jh8rsngR+Zibk0QmkyPB8KdiUTa8kOVVb6RQN5VSABIZtU4Ki2PBm8K VpiaQOG3BfzGCg7WwCQGhvLYm0559mf0G0M/Xflhx03P7iF4wUTY1etwdLKFl8iWff8X FA0iVIUfRodDBs9SuKULGB5DkhbIjdd0ebiyqnDebeniFT5vFbT3XEzBRHBbeSCSKPa9 /HrQ== |
| X-Gm-Message-State | ALKqPwcTlx4dVj+PLWe9uANXWul/xHyCDJ7P8Zx4BFzbqUFWgBeFXC7V 83733auZx5xJ+BV26ApCsmAy3B65G5jCGsKvrI8= |
| X-Google-Smtp-Source | AB8JxZpo18PgBj7axbND6MzAL2mDX6LOwPZlmNC/W2OcI7GVMZC9iFfqYPnXYwPtPl/yJN5Bm1kbdXXqu+raujtztbE= |
| X-Received | by 2002:a50:ac13:: with SMTP id v19-v6mr16666034edc.153.1527541392751; Mon, 28 May 2018 14:03:12 -0700 (PDT) |
| In-Reply-To | <0d867129-e025-508e-c1e3-81415b4039ff@redcor.ch> |
| X-Google-Sender-Auth | 4H6VqIxS16zib5G_EaBR-DwSIPU |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.26 |
| 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> |
| X-Mailman-Original-Message-ID | <CABTCcyYfMNiYZ+i66UWWmtZ9OO9u1W2_WGocRhCWuqP4LWHATg@mail.gmail.com> |
| X-Mailman-Original-References | <0d867129-e025-508e-c1e3-81415b4039ff@redcor.ch> |
| Xref | csiph.com de.comp.lang.python:5172 |
Show key headers only | View raw
was spricht gegen try: import xyz except: import zyx Frank Am 28. Mai 2018 um 22:33 schrieb robert <robert@redcor.ch>: > Hoi zäme, > > > ist es möglich einen automatischen import fallback zu machen? > > Dieser soll einen import der form: > > import XXX.irgend.was > > im falle eines import errors automatisch > > mit > > import ZZZ.irgend.was > > wiederholen, bevor er die Hände bzw einen Importerror (ver)wirft. > > > danke > > gruss > > robert > > _______________________________________________ > python-de maillist - python-de@python.org > https://mail.python.org/mailman/listinfo/python-de -- *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+* Frank Grellert Email: grellert@web.de Webseite: http://fotoblog.57ps.de/ *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] automatischer import fallback Frank Grellert <grellert@web.de> - 2018-05-28 23:02 +0200
csiph-web