[https://www.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
On this page of the site you can watch the video online 7 Simple Tricks to Write Better Python Code with a duration of hours minute second in good quality, which was uploaded by the user Sebastiaan Mathôt 28 December 2015, share the link with friends and acquaintances, this video has already been watched 316,860 times on youtube and it was liked by 6.7 thousand viewers. Enjoy your viewing!