Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / Python

Analyzing Python with the AST Package

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
22 Aug 2021CPOL9 min read 14.3K   4  
This article explains how to analyze Python code using the open-source ast package
The open-source ast package provides a wealth of capabilities for parsing, analyzing, and generating Python code. This article discusses these capabilities and demonstrates how they can be used in code. It also introduces the capabilities of the astor package.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
I've been a programmer, engineer, and author for over 20 years.

Comments and Discussions