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


Groups > de.comp.lang.python > #4515

Re: [Python-de] import und vollqalifizierter Dateiname

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Andreas Jung <lists@zopyx.com>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] import und vollqalifizierter Dateiname
Date Wed, 24 Aug 2016 16:05:38 +0200
Lines 31
Sender zopyxfilter@gmail.com
Message-ID <mailman.283.1472047546.2268.python-de@python.org> (permalink)
References <e25l8bFpb5rU1@mid.individual.net> <20372e6f-34da-037f-50b7-b85d09e83e44@chrisarndt.de> <mailman.282.1472046089.2268.python-de@python.org> <e25ndbFprapU1@mid.individual.net> <CAL3mDbxX8SUXp_zB9TWXYEzxbA_mbifzpC+y6BJDLKSzWug3pA@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 6ZcdH9Pf6UB6i0QMEnfWVg+paHtSql6vFvUhdmPULsXg==
Return-Path <zopyxfilter@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=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=oShPwVD4dbim3xmGPl8J40a62uM6CJ5jY6ldr0S1qcA=; b=XwsMQiq3cVwtfMJX/DuzrfQYouzk1xUOeLs3PlRG+mqWebQVWUqaubPNvdulVK/GwD sg/xUsT0Zxnf3Puu0u7vW+HmnyOIynWWPZnpB0r88pyBXV2fIHlVwvYnXHMac8N9Qpri YHoEejf/xmMs6Td9PfyA/DSeEtdVuFTiH5XJC32pmwtn3F8wJ4IyetSg99oIzhxVXq1x 1fg3Hk0Itp64H5l8oxvFL66/g4swT/tvXcNlA1qifVJBnGrERjRBROISKI41Tb4F+bsa t0FdzEjnp2+4l4JcUiNvDx9AErXO57SR4hf6ITCJ1oX+RBB7oXpAkshow929zGn8LtHu WeiA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=oShPwVD4dbim3xmGPl8J40a62uM6CJ5jY6ldr0S1qcA=; b=Mc/nXyD4gKHzaJG2339YIICZllte00BGC5RaZWf+YAOf/qPs91Uhsy77GUCOpZzKVz /+Xv1Brhc7fuDQjcNm0r1VCSSOOglu2RWqZ9FdRvTylMDpTw/okL/cTGLcHgHUNkOJHK MO772/CcNl9x1E71P2i1on/QjREFXWmNTtA+JaW5INEvnjsljdgZwIf4xXMpxf7O9vEr TG2EhoXECFl7VB6AR+QrIEw1WKSV20tE//uYyBfP0BVDFJlHm7Xkal/cio53PVnYv+/2 TCzt0Mh3D91YqEC/8P+PiZH015YVDxQ3Bqa3SHHQN5NxdM/hhwIL4rbE82dY7Kw+6AvC i4zw==
X-Gm-Message-State AE9vXwOlCjuDGxIMVt7Jw1vR0QXaZMsbjKwFgLlAlGMlxnjbklT+/DZEFhOsTfXeNYAFV7vFkur0KKail3rtDg==
X-Received by 10.25.208.131 with SMTP id h125mr776837lfg.214.1472047539470; Wed, 24 Aug 2016 07:05:39 -0700 (PDT)
In-Reply-To <e25ndbFprapU1@mid.individual.net>
X-Google-Sender-Auth ATEWDJGhaKYGxcJo0Xwkl6E60Vg
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.22
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 <CAL3mDbxX8SUXp_zB9TWXYEzxbA_mbifzpC+y6BJDLKSzWug3pA@mail.gmail.com>
X-Mailman-Original-References <e25l8bFpb5rU1@mid.individual.net> <20372e6f-34da-037f-50b7-b85d09e83e44@chrisarndt.de> <mailman.282.1472046089.2268.python-de@python.org> <e25ndbFprapU1@mid.individual.net>
Xref csiph.com de.comp.lang.python:4515

Show key headers only | View raw


Du solltest Dich mal grundlegend über Python Packages und den
Import-Mechanismus von Python informieren.
Man kann nicht einfach so ein Modul über einen absoluten Pfad importieren.
Das Modul muß in sys.path oder via PYHONPATH erreichbar sein...

-aj

Am 24. August 2016 um 15:56 schrieb Hermann Riemann <
nospam.compb7@hermann-riemann.de>:

> Christopher Arndt schrieb:
>
> > Am 24.08.2016 um 15:20 schrieb Hermann Riemann:
> >>    der das Problem [...]
>
> > Welches Problem?
>
> Bei import geht kein vollqualifizierter Dateiname,
> der den Buchstabe / enthält.
> Python3 meint dazu Syntaxfehler.
>
> Hermann
>    der in C statt import #include schreiben würde.
>
> --
> www.hermann-riemann.de
> _______________________________________________
> python-de maillist  -  python-de@python.org
> https://mail.python.org/mailman/listinfo/python-de
>

Back to de.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

import und vollqalifizierter Dateiname Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-08-24 15:20 +0200
  Re: [Python-de] import und vollqalifizierter Dateiname Andreas Jung <lists@zopyx.com> - 2016-08-24 15:27 +0200
    Re: [Python-de] import und vollqalifizierter Dateiname Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-08-24 16:02 +0200
  Re: [Python-de] import und vollqalifizierter Dateiname Christopher Arndt <chris@chrisarndt.de> - 2016-08-24 15:32 +0200
    Re: [Python-de] import und vollqalifizierter Dateiname Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-08-24 15:56 +0200
      Re: [Python-de] import und vollqalifizierter Dateiname Andreas Jung <lists@zopyx.com> - 2016-08-24 16:05 +0200
        Re: [Python-de] import und vollqalifizierter Dateiname Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-08-24 16:37 +0200
          Re: [Python-de] import und vollqalifizierter Dateiname "Sven R. Kunze" <srkunze@mail.de> - 2016-08-24 21:35 +0200
            Re: [Python-de] import und vollqalifizierter Dateiname Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-08-25 07:49 +0200
              Re: [Python-de] import und vollqalifizierter Dateiname "Sven R. Kunze" <srkunze@mail.de> - 2016-08-25 12:02 +0200
          Re: [Python-de] import und vollqalifizierter Dateiname Christopher Arndt <chris@chrisarndt.de> - 2016-08-24 22:59 +0200
            Re: [Python-de] import und vollqalifizierter Dateiname Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-08-25 08:21 +0200
      Re: [Python-de] import und vollqalifizierter Dateiname Christopher Arndt <chris@chrisarndt.de> - 2016-08-24 16:58 +0200
        Re: [Python-de] import und vollqalifizierter Dateiname Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-08-25 08:07 +0200
          Re: [Python-de] import und vollqalifizierter Dateiname Andreas Jung <lists@zopyx.com> - 2016-08-25 08:17 +0200
          Re: [Python-de] import und vollqalifizierter Dateiname Jens <python-de-mailingliste@jensdiemer.de> - 2016-08-25 08:35 +0200
          Re: [Python-de] import und vollqalifizierter Dateiname Hartmut Goebel <h.goebel@goebel-consult.de> - 2016-08-25 09:36 +0200
      Re: [Python-de] import und vollqalifizierter Dateiname Peter Otten <__peter__@web.de> - 2016-08-24 21:37 +0200

csiph-web