About 50 results
Open links in new tab
  1. Python · Naming Convention

    Python Naming Convention The style guide for Python is based on Guido’s naming convention recommendations. List of covered sections: Class Naming Constant Naming Method Naming Module …

  2. Underscore · Naming Convention

    The underscore (_) has special meaning in Python. For ignoring values: If you do not need a specific value (s) while unpacking an object, just assign the value (s) to an underscore. x, _, y = (1, 2, 3) # …

  3. Method Naming · Naming Convention

    Private Method Python does not support privacy directly. This naming convention is used as a weak internal use indicator. Should follow the above naming conventions Should use a leading underscore …

  4. Variable Naming · Naming Convention

    This naming convention is used as a weak internal use indicator. Should follow the above naming conventions Should use a leading underscore (_) to distinguish between "public" and "private" …

  5. Class Naming · Naming Convention

    Python Naming Convention > Class Naming PascalCase Begin with an uppercase letter Preferably a noun e.g. Car, Bird, MountainBike Avoid acronyms and abbreviations class Car: ... Private Class …

  6. Exception ( Error ) Naming · Naming Convention

    Exceptions should be classes and hence the class naming convention should be used. Add a suffix "Error" on your exception names, provided the exception is actually an error.

  7. Constant Naming · Naming Convention

    Python Naming Convention > Constant Naming SCREAMING_SNAKE_CASE Should be all uppercase letters e.g. AGE, HEIGHT If the name contains multiple words, it should be separated by …

  8. Python module Convention > Package Naming

    Python module Convention > Package Naming snake_case Should be in lowercase. If the name contains multiple words, an underscore (_) should separate it.E.g. expression_engine The name …

  9. Introduction · Naming Convention

    Welcome - The Naming Convention Project The Naming Convention Project is an effort to identify, collect and maintain a set of guidelines for best naming practices.

  10. Module Naming · Naming Convention

    Python module Convention > Module Naming snake_case Should be all in lowercase letters such as requests, math If contains multiple words, it should be separated by underscores (_) e.g. …