What are the main differences between PEP8 and Google Python Style Guide?

5.2k Views Asked by At
  1. most notably they use two spaces for indentation instead of 4.
  2. The CamelCase style for functions and methods instead of the camel_case style.
1

There are 1 best solutions below

0
kederrac On

the main difference is that Google Python Style comes with more details about how to write code, for example how to write your docstrings or when to use aliases for a variable, this are not specified in the PEP8