开发者

python ast module resource [closed]

开发者 https://www.devze.com 2023-01-24 18:51 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_运维问答

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 3 years ago.

Improve this question

can anyone recommend a resource that shows how the AST module works step-by-step? particularly the NodeVisitor and NodeTransformer...


Not step-by-step, but good: http://eli.thegreenplace.net/2009/11/28/python-internals-working-with-python-asts/


The Python AST module reference is available here

The entire documentation is available here. Also I recommend watching Pycon Video As It gives a lot of insight to its working as well as the documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消