I received a Java escape character, \ud83d\ude0d
, how to change it to Python escape characters?
Are there any Python functions or packages for this conversion?
Thank you very much.
I received a Java escape character, \ud83d\ude0d
, how to change it to Python escape characters?
Are there any Python functions or packages for this conversion?
Thank you very much.
If you get the string with requests
, you may try to use the following method
import json
import requests
data = requests.get(r'https://example.com').json()