🪴 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=[])

关系图谱

最近笔记

  • 主页

    2024年5月02日

    • FTP

      2025年3月19日

      Created with Quartz v4.5.0 © 2025

      • GitHub
      • Friends
      • BiliBili