主页
Python
Python ast 模块
demo_ref_module_ast_basic
运行 ❯
×
更改方向
保存代码
更改主题
import ast tree = ast.parse("x = 1 + 2") print(type(tree).__name__)
Module