Automatically Refactoring Python Code

Ganesh Samarthyam (~ganesh71)




As part of Agile technical practices, refactoring is now a mainstay practice in most development projects. This session is all about making it automated, i.e., how deep understanding of refactoring and tools can help automate most of the refactoring tasks!

In this session, we'll cover how to identify smells automatically, how to auto refactor, and how to perform complex refactorings without breaking the working code.

Demo examples are in Python using PyCharm.


  • To make best use of the session, prior experience using PyCharm is preferable (but not required)
  • Understanding of essentials of refactoring and clean code

Video URL:

Content URLs: (The URL link is a full session presented in a recent meetup - will be a condensed version of 25 minutes for this conference). (presentation link)

Speaker Info:

Ganesh Samarthyam is an entrepreneur - he is a co-founder of CodeOps & KonfHub. He has 17+ years of working experience in the IT industry. He is a versatile techie - at different points in time he has worked as a developer, architect, technical book writer, columnist, conference organizer, speaker, trainer & consultant. He is co-author of the book “Refactoring for Software Design Smells: Managing Technical Debt” published by Morgan Kaufmann/Elsevier (Nov 2014) with translations in Korean and Chinese. For more information, visit the websites: and

Speaker Links:

Section: Developer tools and automation
Type: Talks
Target Audience: Beginner
Last Updated: