https://stackoverflow.com/questions/159720/what-is-the-naming-convention-in-python-for-variable-and-function-names



604

Google Python Style Guide has the following convention:

module_name, package_name, ClassName, method_name, ExceptionName, function_name, GLOBAL_CONSTANT_NAME, global_var_name, instance_var_name, function_parameter_name, local_var_name

A similar naming scheme should be applied to a CLASS_CONSTANT_NAME




+ Recent posts