Extension api to parse python file #19236
Answered
by
brettcannon
almahdi404
asked this question in
Q&A
-
How can I parse a file python and extract any data, from my vscode extension? Is it possible to have an extension api that can return AST of a given python file? Thanks :) |
Beta Was this translation helpful? Give feedback.
Answered by
brettcannon
Jun 6, 2022
Replies: 1 comment
-
You don't need an extension; the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
almahdi404
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need an extension; the
ast
module in Python's standard library will give you an AST.