Python is a great language but I’ve seen many novices make some very fundamental mistakes and in this video I’m presenting 5 of them which cause immense pain and head scratching. I present the mistakes, their symptoms, as well as how to fix them.

  • 0:00 - Intro
  • 0:22 - Not using if name = “main
  • 2:12 - Using bare excepts
  • 4:40 - Not logging errors correctly
  • 6:57 - Using lists when you should use sets/dicts
  • 9:02 - Mutable defaults

#python #programming #developer #web-development #machine-learning

5 Things You're Doing Wrong When Programming in Python
4.25 GEEK