New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Run this in the playground and you can see about the module. If you need more help after that ask a bit more specific question.
import ast
print(help(ast))
also
https://docs.python.org/3/library/ast.html