摘要: 转载地址:https://www.ucloud.cn/yun/37950.html 众所周知,在 python 中可以使用 exec 函数来执行包含 python 源代码的字符串: >>> code = """ ...: a = "hello" ...: print(a) ...: """ >>> 阅读全文
posted @ 2022-08-22 18:22 TasteL 阅读(197) 评论(0) 推荐(0) 编辑