7 More Tricks to Write Better Python Code @SebastiaanMath%C3%B4t
7 More Tricks to Write Better Python Code  @SebastiaanMath%C3%B4t
Uploaded December 2016 | Updated September 2026, 3 weeks ago
[buymeacoffee.com/cogsci] This video is a follow-up to 7 Simple Tricks to Write Better Python Code. It again shows seven simple techniques for writing better and easier-to-read Python code.

- 00:30 Inline if-else statements
- 03:00 Sequence comparisons
- 10:00 Extended unpacking (Python-3 only)
- 13:57 Dict comprehensions
- 18:25 collections.OrderedDict
- 21:30 collections.defaultdict
- 26:17 collections.Counter
7 More Tricks to Write Better Python CodePython tricks: Writing user-friendly code with PEP-8 naming conventionsOptical illusion: Colour after effectA tiny clam digging into the sand on the beachOptical illusion: An illusory ChristmasPythonLiveLessons #4: Building a command-line programRunning Python code with Rapunzel Code EditorPython Generators 1: Functions that yield, suspend, and resumeGenerator expressions in Python [Python comprehensions #4)7 Simple Tricks to Write Better Python CodeOptical illusion: Dancing lines (Flash Grab)Creating a command-line app in Python [PythonLiveLessons #4]
Sebastiaan Mathôt |

7 More Tricks to Write Better Python Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER