当前位置:主页 > 软件编程 > Python代码 >
时间:2021-11-23 11:45:48 | 栏目:Python代码 | 点击:次
如下所示:
result = str(要转换的变量名, encoding='utf-8')
例如:
result = str(request, encoding='utf-8')