Nina Zakharenko

Developer, Pythonista, Speaker. Cloud Developer Advocate at Microsoft

Elegant Solutions For Everyday Python Problems - Pycon US 2018

2018-05-11 3 min read Video Speaking Conferences Clean Code Python

This talk was given at PyCon US 2018 in Cleveland, Ohio.

Are you an intermediate python developer looking to level up? Luckily, python provides us with a unique set of tools to make our code more elegant and readable by providing language features that make your code more intuitive and cut down on repetition. In this talk, I’ll share practical pythonic solutions for supercharging your code.

Specifically, I’ll cover:

What magic methods are, and show you how to use them in your own code. When and how to use partial methods. An explanation of ContextManagers and Decorators, as well as multiple techniques for implementing them. How to effectively use NamedTuples, and even subclass and extend them! Lastly, I’ll go over some example code that ties many of these techniques together in a cohesive way. You’ll leave this talk feeling confident about using these tools and techniques in your next python project!

Slides


Tweets
More

Read my interview about Python and Microsoft from the event.

I wrote an indepth article diving into Part 1 of the talk on opensource.com

It was mentioned on a list of favorite talks from PyCon 2018

A Chinese language blog post provides a deep dive of the talk.