Next / Previous / Contents / Shipman's homepage

7. Manifest constants

Because Python has no constants per se, we use the variables whose names are in capital letters with “_” as the word separator.

sox.py
# - - - - -   M a n i f e s t   c o n s t a n t s

7.1. DEFAULT_ENCODING

This constant defines the default Unicode encoding we use for coercing str values to unicode.

sox.py
DEFAULT_ENCODING = 'utf-8'