j9九游会登录/ 函数工作流 functiongraph/ 常见问题/ 配置函数/ python语言的函数中,中文注释报乱码错误
更新时间:2025-01-07 gmt 08:00

python语言的函数中,中文注释报乱码错误-j9九游会登录

使用python语言在线编辑代码,需要输出中文时,请在编辑器中增加如下代码:
# -*- coding:utf-8 -*-
import json
def handler (event, context):
output = 'hello message: '   json.dumps(event,ensure_ascii=false)
return output

相关文档

网站地图