Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5171 > unrolled thread

[Python-de] automatischer import fallback

Started byrobert <robert@redcor.ch>
First post2018-05-28 22:33 +0200
Last post2018-05-28 22:33 +0200
Articles 1 — 1 participant

Back to article view | Back to de.comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [Python-de] automatischer import fallback robert <robert@redcor.ch> - 2018-05-28 22:33 +0200

#5171 — [Python-de] automatischer import fallback

Fromrobert <robert@redcor.ch>
Date2018-05-28 22:33 +0200
Subject[Python-de] automatischer import fallback
Message-ID<mailman.26.1527540003.2804.python-de@python.org>
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

[toc] | [standalone]


Back to top | Article view | de.comp.lang.python


csiph-web