2

Python ascii()函数的逆操作

 2 years ago
source link: https://www.v2ex.com/t/802853
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Python

Python ascii()函数的逆操作

  MiketsuSmasher · 1 天前 · 515 次点击
>>> ascii('泷夜叉姬')
"'\\u6cf7\\u591c\\u53c9\\u59ec'"

如何将"'\\u6cf7\\u591c\\u53c9\\u59ec'"还原回去?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK