[Python-de] unicodedata (was: Pi Symbol (3,14..) mit der Tastatur eingeben)
Marcel Logen <[email protected]>
| Newsgroups | gmane.comp.python.general.german |
|---|---|
| Organization | Bureau Logen |
| Message-ID | <[email protected]> |
Stefan Ram in de.comp.os.unix.linux.misc: [...] > . Quelltext: > >import re >import sys >import unicodedata [...] >for i in range( sys.maxunicode+1 ): [...] Das ist interessant, danke. Ich wußte nicht, daß es diese Möglichkeit in Python3 gibt. <https://docs.python.org/3/library/unicodedata.html> Allerdings wird da offenbar bislang nur die Unicode-Version 14 unterstützt. Aktuell ist die 15: <https://www.unicode.org/versions/Unicode15.0.0/>. <https://www.unicode.org/Public/15.0.0/ucd/> Ich habe mir vor Jahren einmal ein Python3-Script geschrie- ben, das die (lokal vorliegende) Datei UnicodeData.txt für meine Zwecke auswertet. Marcel F'up2 de.comp.lang.python -- ─╮ ╭─╮ ╭─╮ ╭───╮ ..30..╭───╮ ╭─╮ ╭─╮ ╭────────────╮ ╰─╯ │ │ │ ..15..│ ╰─╮ ╭─╮ ╭─╯ ╰─╮ │ ╰─╯ ╰─╯ ╭─────────╯ ╭─ ╭───╯ ╭─╯ ╰──╮ ╭─╮ │ ╰─╯ │ ╰──╮ ╭─╯ ╭─╯ ..51..│ ╭────╮ ╭───╯ ╰─────╯ ╰─╯ ╰─╯ ╰─────╯ ╰───╯ ..51..╰─╯ ╰──╯ _______________________________________________ python-de Mailingliste -- [email protected] Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an [email protected] https://mail.python.org/mailman3/lists/python-de.python.org/ Mitgliedsadresse: [email protected]