tocoli.py2 package

Submodules

tocoli.py2.enc module

tocoli.py2.enc.decode(input, encoding='utf-8', errors='strict', detect='utf-8')[source]

Decode any string. Returns a decoded ‘unicode’ otherwise the input.

tocoli.py2.enc.encode(input, output_encoding='utf-8', errors='strict', input_encoding='utf-8')[source]

Encode any string. Returns an encoded ‘str’ otherwise the input.

Module contents