0

In python some classes are starting from small letters like list, filter, str and some are starting with capital letters like KeyError, OptionParser, etc.

Is there any difference between these classes.

Devavrata
  • 1,715
  • 16
  • 28
  • I think those whom considered as Python primitive data types (Including `str`, `list`, `dict`, etc.) are started with lowercase letters, and others are started with upper case letters. – EbraHim Apr 27 '16 at 10:14
  • Got It!!! Just read it is mentioned in PEP8 also. – Devavrata Apr 27 '16 at 10:42

0 Answers0