AI, Data Science & Cloud Certificates from Google, IBM & Meta
NY State-Licensed Certificates in Design, Coding & AI — Online
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Explore the depths of Python sorting in this 30-minute EuroPython 2020 conference talk. Dive into the intricacies of the built-in "sorted" function and learn how to sort any collection of Python data. Discover techniques for using custom functions to sort built-in data structures in novel ways, and design custom classes that sort exactly as intended. Gain a deeper understanding of sorting, built-in data structures, function objects, and the impact of "magic methods" on Python classes. Learn to write clearer, shorter, and more easily understood code through topics such as Timsort, custom sorting with "key", stable sorting, sorting lists of dictionaries and named tuples, and making objects sortable. Suitable for intermediate-level Python programmers familiar with writing functions, classes, and methods.
Syllabus
Reuven Lerner - How to sort anything
Taught by
EuroPython Conference