January 2019
Beginner
318 pages
8h 23m
English
The transformation from a byte string to a Unicode code point is known as decoding. So, let's see an example of how to decode a byte string to get a Unicode code point as shown in following code:
>>> str = bytes('Office', encoding='utf-8')>>> dec_str = str.decode('utf-8')>>> dec_str'Office'
Read now
Unlock full access