Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| $ cat qsort.py | |
| def qsort(iterable, start=0, end=None): | |
| if end is None: | |
| end = len(iterable) - 1 | |
| if hasattr(iterable, 'encode'): | |
| iterable = list(iterable) | |
| if start >= end: | |
| return iterable |
| from kivy.app import App | |
| from kivy.uix.label import Label | |
| from kivy.properties import ListProperty | |
| class ShadowLabel(Label): | |
| decal = ListProperty([0, 0]) | |
| tint = ListProperty([1, 1, 1, 1]) | |