Powerful Python source code processing with "ast"

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024
  • 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: www.youtube.com...
    FACEBOOK: / infoworld
    TWITTER: / infoworld
    WEBSITE: www.infoworld.com/

ความคิดเห็น • 1

  • @reaperhammer
    @reaperhammer 3 หลายเดือนก่อน

    This is interesting