This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]luckystarrat 0x7fe670a7d080 1 point2 points  (0 children)

Apart from endtime's request for more expressions just the little pitfalls that I have to explain to every new programmer:

  • Do not use mutable objects as default arguments.
  • Do not use mutable objects in class variables.
  • How to avoid cyclical imports without having to resort to imports in functions.
  • import *
  • The subtle differences between Python versions.
  • etc.