Powerful Python source code processing with "ast"

Опубликовано: 08 Май 2026
на канале: InfoWorld
3,588
89

Python's "ast" module transforms the text of Python source code into an object stream. It's a more powerful way to walk through Python code, analyze its components, and make changes than working manually with code as text. This video shows some basic "ast" techniques, like selectively replacing imports and performing other targeted modifications to code.

-----------------------------­---
SUBSCRIBE: http://www.youtube.com/subscription_c...
FACEBOOK:   / infoworld  
TWITTER:   / infoworld  
WEBSITE: http://www.infoworld.com/