Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Beautiful Python Refactoring

PyCon US via YouTube

Overview

Explore a captivating PyCon US talk that demonstrates the art of beautiful Python refactoring. Learn how to transform double-digit lines of code into concise, single-digit expressions. Discover techniques for identifying anti-patterns and replacing them with more expressive and declarative code. Gain insights into imports, data extraction, if statements, slicing, conditional expressions, and structural changes. Examine practical examples, including HTML table manipulation and performance considerations. Suitable for all skill levels, this presentation offers valuable strategies to enhance your daily coding practices and create more elegant Python solutions.

Syllabus

Introduction
Why this talk
How I started
Imports
Data Extraction
If Statement
Slicing
Conditional Expressions
Structural Changes
Step 2 HTML Table
Step 3 Code
Performance
Python Bites

Taught by

PyCon US

Reviews

Start your review of Beautiful Python Refactoring

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.