A class name that begins with a lowercase letter does not follow standard naming conventions. This decreases code readability. For example, class background.

Write the class name beginning with an uppercase letter. For example, class Background.

  • Guido van Rossum, Barry Warsaw, Nick Coghlan PEP 8 -- Style Guide for Python Code Python Class Names