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!
#PyCon2018 was so amazing. It was such a joy to make so many new friends in the #python community. spent the weekend binge watching the talks @nnja Nina Zakharenko - Elegant Solutions For Everyday Python Problems - PyCon... https://t.co/sQO4hPZQ4V still is my favorite— William Hakizimana (@willyhakim) May 22, 2018
Day 41: I watched a #PyCon2018 talk: "Elegant Solutions For Everyday Python Problems" by @nnja, learning a lot about decorators, magic methods, and named tuples (which now seem very useful) @pybites @TalkPython #100DaysOfCode #Python— Yashas Lokesh (@yashaslokesh_) August 9, 2018
binge watching @pycon talks! Here are a few of my favorites so far:— Alex Horth (@AlexHorth) May 20, 2018
- Dataclasses by @raymondh: https://t.co/GmusjExY8z
- Performance Python by @jakevdp: https://t.co/m3ZfaTMkcN
- Elegant solutions to everyday problems by @nnja: https://t.co/wQlI9WeoAN
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.