Overview
| Comment: | [graphspell] echo() update |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | graphspell | rg |
| Files: | files | file ages | folders |
| SHA3-256: |
c76919a14a7274dc690429b4330e12e0 |
| User & Date: | olr on 2018-09-04 11:58:04 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-09-05
| ||
| 07:10 | [fr] ajustements check-in: 16deb93a42 user: olr tags: fr, rg | |
|
2018-09-04
| ||
| 11:58 | [graphspell] echo() update check-in: c76919a14a user: olr tags: graphspell, rg | |
| 11:56 | [fr] inutile de rajouter des espaces avec le processeur de texte check-in: fd865aeae0 user: olr tags: fr, rg | |
Changes
Modified graphspell/echo.py from [440b1511e9] to [12e48b665e].
1 2 3 4 5 6 7 8 9 10 11 12 | #!python3 """ The most boring yet indispensable function: print! Because you can print on Windows console without being sure the script won’t crash… Windows console don’t accept many characters. """ import sys | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!python3
"""
The most boring yet indispensable function: print!
Because you can print on Windows console without being sure the script won’t crash…
Windows console don’t accept many characters.
"""
import sys
_CHARMAP = str.maketrans({ 'œ': 'ö', 'Œ': 'Ö', 'ʳ': "r", 'ᵉ': "e", 'ˢ': "s", 'ᵈ': "d", '…': "_", \
'“': '"', '”': '"', '„': '"', '‘': "'", '’': "'", \
'ā': 'â', 'Ā': 'Â', 'ē': 'ê', 'Ē': 'Ê', 'ī': 'î', 'Ī': 'Î', \
'ō': 'ô', 'Ō': 'Ô', 'ū': 'û', 'Ū': 'Û', 'Ÿ': 'Y', \
'ś': 's', 'ŝ': 's', \
'—': '-', '–': '-'
})
|
| ︙ | ︙ |