[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python/python-docs-de/sync-upstream-3.14/tutorial/appendix.po [Back]  [Original]

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR , YEAR.
#
# Translators:
# python-doc bot, 2025
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-05 16:53+0200\n"
"PO-Revision-Date: 2026-08-09 00:02+0000\n"
"Last-Translator: Swen Bachmann \n"
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../../tutorial/appendix.rst:5
msgid "Appendix"
msgstr "Anhang"

#: ../../tutorial/appendix.rst:11
msgid "Interactive Mode"
msgstr "Interaktiver Modus"

#: ../../tutorial/appendix.rst:13
msgid ""
"There are two variants of the interactive :term:`REPL`.  The classic basic "
"interpreter is supported on all platforms with minimal line control "
"capabilities."
msgstr ""
"Es gibt zwei Varianten der interaktiven :term:`REPL`. Der klassische "
"einfache Interpreter wird auf allen Plattformen mit minimalen Mglichkeiten "
"zur Zeilensteuerung untersttzt."

#: ../../tutorial/appendix.rst:17
msgid ""
"Since Python 3.13, a new interactive shell is used by default. This one "
"supports color, multiline editing, history browsing, and paste mode.  To "
"disable color, see :ref:`using-on-controlling-color` for details.  Function "
"keys provide some additional functionality. :kbd:`F1` enters the interactive "
"help browser :mod:`pydoc`. :kbd:`F2` allows for browsing command-line "
"history with neither output nor the :term:`>>>` and :term:`...` prompts. :"
"kbd:`F3` enters \"paste mode\", which makes pasting larger blocks of code "
"easier. Press :kbd:`F3` to return to the regular prompt."
msgstr ""
"Seit Python 3.13 wird standardmig eine neue interaktive Shell verwendet. "
"Diese untersttzt Farben, mehrzeilige Bearbeitung, das Durchsuchen des "
"Verlaufs und einen Einfgemodus. Um Farben zu deaktivieren, siehe :ref:"
"`using-on-controlling-color` fr Details. Funktionstasten bieten zustzliche "
"Funktionen. :kbd:`F1` ffnet den interaktiven Hilfe-Browser :mod:`pydoc`. :"
"kbd:`F2` ermglicht das Durchsuchen des Befehlszeilenverlaufs ohne Ausgaben "
"und ohne die Prompts :term:`>>>` und :term:`...`. :kbd:`F3` aktiviert den "
"\"Einfgemodus\", der das Einfgen grerer Codeblcke erleichtert. Drcke :"
"kbd:`F3`, um zum regulren Prompt zurckzukehren."

#: ../../tutorial/appendix.rst:27
msgid ""
"When using the new interactive shell, exit the shell by typing :kbd:`exit` "
"or :kbd:`quit`. Adding call parentheses after those commands is not required."
msgstr ""
"Bei Verwendung der neuen interaktiven Shell beendest du diese durch Eingabe "
"von :kbd:`exit` oder :kbd:`quit`. Das Hinzufgen von Aufrufklammern nach "
"diesen Befehlen ist nicht erforderlich."

#: ../../tutorial/appendix.rst:31
msgid ""
"If the new interactive shell is not desired, it can be disabled via the :"
"envvar:`PYTHON_BASIC_REPL` environment variable."
msgstr ""
"Wenn die neue interaktive Shell nicht gewnscht ist, kann sie ber die "
"Umgebungsvariable :envvar:`PYTHON_BASIC_REPL` deaktiviert werden."

#: ../../tutorial/appendix.rst:37
msgid "Error Handling"
msgstr "Fehlerbehandlung"

#: ../../tutorial/appendix.rst:39
msgid ""
"When an error occurs, the interpreter prints an error message and a stack "
"trace. In interactive mode, it then returns to the primary prompt; when "
"input came from a file, it exits with a nonzero exit status after printing "
"the stack trace. (Exceptions handled by an :keyword:`except` clause in a :"
"keyword:`try` statement are not errors in this context.)  Some errors are "
"unconditionally fatal and cause an exit with a nonzero exit status; this "
"applies to internal inconsistencies and some cases of running out of "
"memory.  All error messages are written to the standard error stream; normal "
"output from executed commands is written to standard output."
msgstr ""
"Wenn ein Fehler auftritt, gibt der Interpreter eine Fehlermeldung und einen "
"Stacktrace aus. Im interaktiven Modus kehrt er anschlieend zum primren "
"Prompt zurck; stammte die Eingabe aus einer Datei, beendet er sich nach der "
"Ausgabe des Stacktrace mit einem Exit-Status ungleich null. (Ausnahmen, die "
"durch eine :keyword:`except`-Klausel in einer :keyword:`try`-Anweisung "
"behandelt werden, sind in diesem Kontext keine Fehler.) Einige Fehler sind "
"ausnahmslos fatal und fhren zu einem Beenden mit einem Exit-Status ungleich "
"null; dies gilt fr interne Inkonsistenzen und einige Flle von "
"Speicherbrauch.Alle Fehlermeldungen werden in den Standard-Fehlerstrom "
"geschrieben, die normale Ausgabe der ausgefhrten Befehle wird in die "
"Standardausgabe geschrieben."

#: ../../tutorial/appendix.rst:49
msgid ""
"Typing the interrupt character (usually :kbd:`Control-C` or :kbd:`Delete`) "
"to the primary or secondary prompt cancels the input and returns to the "
"primary prompt. [#]_ Typing an interrupt while a command is executing raises "
"the :exc:`KeyboardInterrupt` exception, which may be handled by a :keyword:"
"`try` statement."
msgstr ""
"Die Eingabe des Unterbrechungszeichens (normalerweise :kbd:`Control-C` oder :"
"kbd:`Delete`) am primren oder sekundren Prompt bricht die Eingabe ab und "
"kehrt zum primren Prompt zurck. [#]_ Das Auslsen einer Unterbrechung, "
"whrend ein Befehl ausgefhrt wird, lst die Ausnahme :exc:"
"`KeyboardInterrupt` aus, die durch eine :keyword:`try`-Anweisung behandelt "
"werden kann."

#: ../../tutorial/appendix.rst:59
msgid "Executable Python Scripts"
msgstr "Ausfhrbare Python-Skripte"

#: ../../tutorial/appendix.rst:61
msgid ""
"On BSD'ish Unix systems, Python scripts can be made directly executable, "
"like shell scripts, by putting the line ::"
msgstr ""
"Auf BSD-hnlichen Unix-Systemen knnen Python-Skripte direkt ausfhrbar "
"gemacht werden, genau wie Shell-Skripte, indem man die Zeile ::"

#: ../../tutorial/appendix.rst:64
msgid "#!/usr/bin/env python3"
msgstr "#!/usr/bin/env python3"

#: ../../tutorial/appendix.rst:66
msgid ""
"(assuming that the interpreter is on the user's :envvar:`PATH`) at the "
"beginning of the script and giving the file an executable mode.  The ``#!`` "
"must be the first two characters of the file.  On some platforms, this first "
"line must end with a Unix-style line ending (``'\\n'``), not a Windows "
"(``'\\r\\n'``) line ending.  Note that the hash, or pound, character, "
"``'#'``, is used to start a comment in Python."
msgstr ""
"(unter der Annahme, dass sich der Interpreter im :envvar:`PATH` des "
"Benutzers befindet) an den Anfang des Skripts setzt und der Datei Rechte zur "
"Ausfhrung gibt. Die Zeichen ``#!`` mssen die ersten beiden Zeichen der "
"Datei sein. Auf einigen Plattformen muss diese erste Zeile mit einem Unix-"
"Zeilenende (``'\\n'``) und nicht mit einem Windows-Zeilenende (``'\\r\\n'``) "
"enden. Beachte, dass das Rautezeichen ``'#'`` in Python verwendet wird, um "
"einen Kommentar zu beginnen."

#: ../../tutorial/appendix.rst:73
msgid ""
"The script can be given an executable mode, or permission, using the :"
"program:`chmod` command."
msgstr ""
"Das Skript kann mithilfe des Befehls :program:`chmod` ausfhrbar gemacht "
"werden."

#: ../../tutorial/appendix.rst:76
msgid "$ chmod +x myscript.py"
msgstr "$ chmod +x myscript.py"

#: ../../tutorial/appendix.rst:80
msgid ""
"On Windows systems, there is no notion of an \"executable mode\".  The "
"Python installer automatically associates ``.py`` files with ``python.exe`` "
"so that a double-click on a Python file will run it as a script.  The "
"extension can also be ``.pyw``, in that case, the console window that "
"normally appears is suppressed."
msgstr ""
"Auf Windows-Systemen gibt es kein Konzept eines \\\"Ausfhrungsmodus\\\". "
"Der Python-Installer verknpft ``.py``-Dateien automatisch mit ``python."
"exe``, sodass ein Doppelklick auf eine Python-Datei diese als Skript "
"ausfhrt. Die Dateiendung kann auch ``.pyw`` sein; in diesem Fall wird das "
"normalerweise erscheinende Konsolenfenster unterdrckt."

#: ../../tutorial/appendix.rst:90
msgid "The Interactive Startup File"
msgstr "Die interaktive Startdatei"

#: ../../tutorial/appendix.rst:92
msgid ""
"When you use Python interactively, it is frequently handy to have some "
"standard commands executed every time the interpreter is started.  You can "
"do this by setting an environment variable named :envvar:`PYTHONSTARTUP` to "
"the name of a file containing your start-up commands.  This is similar to "
"the :file:`.profile` feature of the Unix shells."
msgstr ""
"Wenn du Python interaktiv nutzt, ist es oft praktisch, bei jedem Start des "
"Interpreters einige Standardbefehle ausfhren zu lassen. Du kannst dies "
"erreichen, indem du eine Umgebungsvariable namens :envvar:`PYTHONSTARTUP` "
"auf den Namen einer Datei setzt, die deine Startbefehle enthlt. Dies hnelt "
"der :file:`.profile`-Funktion von Unix-Shells."

#: ../../tutorial/appendix.rst:98
msgid ""
"This file is only read in interactive sessions, not when Python reads "
"commands from a script, and not when :file:`/dev/tty` is given as the "
"explicit source of commands (which otherwise behaves like an interactive "
"session).  It is executed in the same namespace where interactive commands "
"are executed, so that objects that it defines or imports can be used without "
"qualification in the interactive session. You can also change the prompts "
"``sys.ps1`` and ``sys.ps2`` in this file."
msgstr ""
"Diese Datei wird nur in interaktiven Sitzungen gelesen, nicht wenn Python "
"Befehle aus einem Skript liest und nicht, wenn :file:`/dev/tty` als "
"explizite Quelle fr Befehle angegeben wird (was sich ansonsten wie eine "
"interaktive Sitzung verhlt). Sie wird im selben Namensraum ausgefhrt, in "
"dem interaktive Befehle ausgefhrt werden, sodass darin definierte oder "
"importierte Objekte ohne Pfadangabe in der interaktiven Sitzung verwendet "
"werden knnen. Du kannst in dieser Datei auch die Prompts ``sys.ps1`` und "
"``sys.ps2`` ndern."

#: ../../tutorial/appendix.rst:106
msgid ""
"If you want to read an additional start-up file from the current directory, "
"you can program this in the global start-up file using code like ``if os."
"path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read())``. If you "
"want to use the startup file in a script, you must do this explicitly in the "
"script::"
msgstr ""
"Wenn du eine zustzliche Startdatei aus dem aktuellen Verzeichnis lesen "
"mchtest, kannst du dies in der globalen Startdatei mit Code wie ``if os."
"path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read())`` "
"programmieren. Wenn du die Startdatei in einem Skript verwenden mchtest, "
"musst du dies explizit im Skript tun::"

#: ../../tutorial/appendix.rst:112
msgid ""
"import os\n"
"filename = os.environ.get('PYTHONSTARTUP')\n"
"if filename and os.path.isfile(filename):\n"
"    with open(filename) as fobj:\n"
"        startup_file = fobj.read()\n"
"    exec(startup_file)"
msgstr ""
"import os\n"
"filename = os.environ.get('PYTHONSTARTUP')\n"
"if filename and os.path.isfile(filename):\n"
"    with open(filename) as fobj:\n"
"        startup_file = fobj.read()\n"
"    exec(startup_file)"

#: ../../tutorial/appendix.rst:123
msgid "The Customization Modules"
msgstr "Die Anpassungsmodule"

#: ../../tutorial/appendix.rst:125
msgid ""
"Python provides two hooks to let you customize it: :index:`sitecustomize` "
"and :index:`usercustomize`.  To see how it works, you need first to find the "
"location of your user site-packages directory.  Start Python and run this "
"code::"
msgstr ""
"Python bietet zwei Hooks zur Anpassung: :index:`sitecustomize` und :index:"
"`usercustomize`. Um zu sehen, wie das funktioniert, musst du zuerst den Pfad "
"deines benutzerbezogenen site-packages-Verzeichnisses finden. Starte Python "
"und fhre diesen Code aus::"

#: ../../tutorial/appendix.rst:129
msgid ""
">>> import site\n"
">>> site.getusersitepackages()\n"
"'/home/user/.local/lib/python3.x/site-packages'"
msgstr ""
">>> import site\n"
">>> site.getusersitepackages()\n"
"'/home/user/.local/lib/python3.x/site-packages'"

#: ../../tutorial/appendix.rst:133
msgid ""
"Now you can create a file named :file:`usercustomize.py` in that directory "
"and put anything you want in it.  It will affect every invocation of Python, "
"unless it is started with the :option:`-s` option to disable the automatic "
"import."
msgstr ""
"Jetzt kannst du in diesem Verzeichnis eine Datei namens :file:`usercustomize."
"py` erstellen und beliebig fllen. Sie wirkt sich auf jeden Aufruf von "
"Python aus, es sei denn, es wird mit der Option :option:`-s` gestartet, um "
"den automatischen Import zu deaktivieren."

#: ../../tutorial/appendix.rst:137
msgid ""
":index:`sitecustomize` works in the same way, but is typically created by an "
"administrator of the computer in the global site-packages directory, and is "
"imported before :index:`usercustomize`.  See the documentation of the :mod:"
"`site` module for more details."
msgstr ""
":index:`sitecustomize` funktioniert auf die gleiche Weise, wird aber "
"typischerweise von einem Administrator des Computers im globalen site-"
"packages-Verzeichnis erstellt und vor :index:`usercustomize` importiert. "
"Siehe die Dokumentation des :mod:`site`-Moduls fr weitere Details."

#: ../../tutorial/appendix.rst:144
msgid "Footnotes"
msgstr "Funoten"

#: ../../tutorial/appendix.rst:145
msgid "A problem with the GNU Readline package may prevent this."
msgstr "Ein Problem mit dem GNU-Readline-Paket kann dies verhindern."

#~ msgid ""
#~ "On Windows, or Unix-like systems with :mod:`curses` support, a new "
#~ "interactive shell is used by default since Python 3.13. This one supports "
#~ "color, multiline editing, history browsing, and paste mode.  To disable "
#~ "color, see :ref:`using-on-controlling-color` for details.  Function keys "
#~ "provide some additional functionality. :kbd:`F1` enters the interactive "
#~ "help browser :mod:`pydoc`. :kbd:`F2` allows for browsing command-line "
#~ "history with neither output nor the :term:`>>>` and :term:`...` prompts. :"
#~ "kbd:`F3` enters \"paste mode\", which makes pasting larger blocks of code "
#~ "easier. Press :kbd:`F3` to return to the regular prompt."
#~ msgstr ""
#~ "Auf Windows oder Unix-hnlichen Systemen mit Untersttzung fr :mod:"
#~ "`curses` wird seit Python 3.13 standardmig eine neue interaktive Shell "
#~ "verwendet. Diese untersttzt Farben, mehrzeilige Bearbeitung, das "
#~ "Durchsuchen des Verlaufs und einen Einfgemodus. Um Farben zu "
#~ "deaktivieren, siehe :ref:`using-on-controlling-color` fr Details. "
#~ "Funktionstasten bieten zustzliche Funktionen. :kbd:`F1` ffnet den "
#~ "interaktiven Hilfe-Browser :mod:`pydoc`. :kbd:`F2` ermglicht das "
#~ "Durchsuchen des Befehlszeilenverlaufs ohne Ausgaben und ohne die Prompts :"
#~ "term:`>>>` und :term:`...`. :kbd:`F3` aktiviert den \\\"Einfgemodus\\\", "
#~ "der das Einfgen grerer Codeblcke erleichtert. Drcke :kbd:`F3`, um "
#~ "zum regulren Prompt zurckzukehren."

Web Proxy Viewer  |  New URL  |  Original Page