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