```
str1 = b'MzI3:NTA5'
c2 = str(str1).split(':')
c3 = str(str1,'utf-8').split(':')
c4 = b'\u5f7c\u0028\u304b\u0029\u306e\u592b\u4eba\u306e\u61d0\u4e2d\u304b\u3089'
c5 = str(c4,'utf-8')
print(c2)
print(c3)
print(c4)
print(c4.decode('unicode_escape').encode())
print(c4.decode('unicode_escape'))
print(c4.decode('raw_unicode_escape'))
c6 = c4.decode('unicode_escape').encode()
```
```
c4 = b'\u5f7c\u0028\u304b\u0029\u306e\u592b\u4eba\u306e\u61d0\u4e2d\u304b\u3089'
c6 = c4.decode('unicode_escape').encode()
print(c6)
print(c6.decode())
print(c4.decode())
```
```
str10 = b'\xe7\xbb\x9d\xe5\x9c\xb0\xe6\xb1\x82\xe7\x94\x9f'
print(str10)
print(str10.decode())
print(str10.encode())
```
```
a = '朝阳'
b = a.encode()
print(b)
c = b.decode()
print(c)
```
```
str10 = b'\xe7\xbb\x9d\xe5\x9c\xb0\xe6\xb1\x82\xe7\x94\x9f'
print(str10)
print(str10.decode('GBK'))
print(str10.encode())
```
```
a = '朝阳'
b = a.encode('GBK')
#d = a.encode()
e = a.encode('GB2312')
print(b)
#print(d)
print(e)
c = b.decode('GBK')
print(c)
```
```
a = '游戏'
```
- py转exe
- py服务器
- py登录
- py查询
- 爬TB热卖1017
- 爬TB分类1015
- 爬BD文库1010
- 爬文库924
- json917
- decode912
- 转码910
- radians829
- turtle827
- 画叶子820
- 树干815
- Turtle, mainloop718
- sorted716
- random711
- turtle.colormode709
- abs704
- begin_fill702
- randint,random627
- isalpha625
- keyword620
- compile618
- judge613
- list1.copy611
- random.choice606
- format_randint604
- save_csv528
- jieba523
- wordcloud521
- wordcloud516
- jieba.lcut514
- counts503
- format423
- 花瓣418
- strftime416
- turtle.fillcolor411
- random.random409
- pensize404
- 花蕊328
- input327
- eval_float320
- open319
- while314
- JCR影响因子313
- _to_chinese4_312
- encoding306
- read305
- flask1029