Re: [Python-de] { als Zeichen in Format

Am 03.07.2017 um 14:04 schrieb Peter Otten:
Ich habe das jetzt auf die Schnelle aber auch nicht in der Doku gefunden, sondern hatte eine vage Erinnerung, dass ich da mal was gelesen hatte.
https://docs.python.org/dev/library/string.html#format-string-syntax
""" If you need to include a brace character in the literal text, it can be escaped by doubling: {{ and }}. """
Danke; ich habe jetzt meine Python url Sammlung erweitert auf:
https://docs.python.org/3/library /usr/share/doc/packages/python3/html/index.html https://docs.python.org/3.4/library/ https://docs.python.org/dev/library/ http://effbot.org/zone/tkinter-threads.htm https://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-f..."
Hermann der englisch nicht so schnell liest wie deutsch.
participants (1)
-
Hermann Riemann