🪴 Cyril

Home

❯

07 逆向

❯

AST 抽象语法树

AST 抽象语法树

2024年8月27日1分钟阅读

https://docs.python.org/zh-tw/3/library/ast.html

>>> print(ast.dump(ast.parse('x = 1'), indent=4))
Module(
    body=[
        Assign(
            targets=[
                Name(id='x', ctx=Store())],
            value=Constant(value=1))],
    type_ignores=[])

关系图谱

最近笔记

  • 信源熵

    2025年6月04日

    • 学习方法论

      2025年6月04日

      Created with Quartz v4.5.1 © 2025

      • GitHub
      • Friends
      • BiliBili