[Python-de] { als Zeichen in Format

Hermann Riemann nospam.ng at hermann-riemann.de
Mo Jul 3 09:34:11 EDT 2017


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-full-path"

Hermann
    der englisch nicht so schnell liest wie deutsch.

-- 
http://www.hermann-riemann.de


Mehr Informationen über die Mailingliste python-de