7 Simple Tricks to Write Better Python Code @SebastiaanMath%C3%B4t
7 Simple Tricks to Write Better Python Code  @SebastiaanMath%C3%B4t
Uploaded December 2015 | Updated September 2026, 3 weeks ago
[buymeacoffee.com/cogsci] Visit http://python.cogsci.nl/ for more tutorials! Seven solutions to common small problems that Python programmers often solve in a suboptimal way. This video is understandable for beginners, but also contains useful advice for experienced programmers.

- 0:50 Using enumerate()
- 3:22 Using zip()
- 6:35 Tuple unpacking
- 9:40 Default dict values
- 12:42 For ... else
- 16:13 File reading with 'with'
- 19:40 Exception handling
7 Simple Tricks to Write Better Python CodeOptical illusion: Dancing lines (Flash Grab)Creating a command-line app in Python [PythonLiveLessons #4]Optical illusion: Drunken feetHow reliable is memory? | Biological Psychology 4.6Getting started with Git and GitHub [PythonLiveLessons #3]Building your first neural network with Keras and Python [Part 2]Optical illusion: Relative motion (Super Mario)Sleep and Dreams | Biological Psychology 6.4Installing Rapunzel Code Editor in AnacondaJust a few baby ducklingsIntroduction to Attention and Consciousness | Biological Psychology 6.1
Sebastiaan Mathôt |

7 Simple Tricks to Write Better Python Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER