Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Explore the world of Python codemods in this 47-minute conference talk from Conf42 Python 2024. Dive into the philosophy and architecture of codemodder, learning how to leverage open-source tools to fix and harden code. Discover practical applications like replacing unsafe PyYAML loaders, using defusedxml for XML parsing, and automating resource closure. Follow along as the speaker demonstrates writing a codemod using a plugin template, and gain insights into making both easy and complex tasks achievable. Conclude with a look at future developments, including the PixeeBot app, and an invitation for community feedback on this innovative approach to code modification and security enhancement.