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 should resonate with the class or methods inside the module
from math import factorial
class Car:
    ...

Contributors

PandaWhoCodes