René's URL Explorer Experiment


Title: PEP 8 – Style Guide for Python Code | peps.python.org

Open Graph Title: PEP 8 – Style Guide for Python Code | peps.python.org

Description: This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. Please see the companion informational PEP describing style guidelines for the C code in the C implementation of Python.

Open Graph Description: This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. Please see the companion informational PEP describing style guidelines for the C code in the C implementation of Python.

Opengraph URL: https://peps.python.org/pep-0008/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/pep-0000/
Introductionhttps://peps.python.org/8#introduction
A Foolish Consistency is the Hobgoblin of Little Mindshttps://peps.python.org/8#a-foolish-consistency-is-the-hobgoblin-of-little-minds
Code Lay-outhttps://peps.python.org/8#code-lay-out
Indentationhttps://peps.python.org/8#indentation
Tabs or Spaces?https://peps.python.org/8#tabs-or-spaces
Maximum Line Lengthhttps://peps.python.org/8#maximum-line-length
Should a Line Break Before or After a Binary Operator?https://peps.python.org/8#should-a-line-break-before-or-after-a-binary-operator
Blank Lineshttps://peps.python.org/8#blank-lines
Source File Encodinghttps://peps.python.org/8#source-file-encoding
Importshttps://peps.python.org/8#imports
Module Level Dunder Nameshttps://peps.python.org/8#module-level-dunder-names
String Quoteshttps://peps.python.org/8#string-quotes
Whitespace in Expressions and Statementshttps://peps.python.org/8#whitespace-in-expressions-and-statements
Pet Peeveshttps://peps.python.org/8#pet-peeves
Other Recommendationshttps://peps.python.org/8#other-recommendations
When to Use Trailing Commashttps://peps.python.org/8#when-to-use-trailing-commas
Commentshttps://peps.python.org/8#comments
Block Commentshttps://peps.python.org/8#block-comments
Inline Commentshttps://peps.python.org/8#inline-comments
Documentation Stringshttps://peps.python.org/8#documentation-strings
Naming Conventionshttps://peps.python.org/8#naming-conventions
Overriding Principlehttps://peps.python.org/8#overriding-principle
Descriptive: Naming Styleshttps://peps.python.org/8#descriptive-naming-styles
Prescriptive: Naming Conventionshttps://peps.python.org/8#prescriptive-naming-conventions
Names to Avoidhttps://peps.python.org/8#names-to-avoid
ASCII Compatibilityhttps://peps.python.org/8#ascii-compatibility
Package and Module Nameshttps://peps.python.org/8#package-and-module-names
Class Nameshttps://peps.python.org/8#class-names
Type Variable Nameshttps://peps.python.org/8#type-variable-names
Exception Nameshttps://peps.python.org/8#exception-names
Global Variable Nameshttps://peps.python.org/8#global-variable-names
Function and Variable Nameshttps://peps.python.org/8#function-and-variable-names
Function and Method Argumentshttps://peps.python.org/8#function-and-method-arguments
Method Names and Instance Variableshttps://peps.python.org/8#method-names-and-instance-variables
Constantshttps://peps.python.org/8#constants
Designing for Inheritancehttps://peps.python.org/8#designing-for-inheritance
Public and Internal Interfaceshttps://peps.python.org/8#public-and-internal-interfaces
Programming Recommendationshttps://peps.python.org/8#programming-recommendations
Function Annotationshttps://peps.python.org/8#function-annotations
Variable Annotationshttps://peps.python.org/8#variable-annotations
Referenceshttps://peps.python.org/8#references
Copyrighthttps://peps.python.org/8#copyright
Introductionhttps://peps.python.org/8#introduction
style guidelines for the C code in the C implementation of Pythonhttps://peps.python.org/pep-0007/
PEP 257https://peps.python.org/pep-0257/
[2]https://peps.python.org/8#id6
A Foolish Consistency is the Hobgoblin of Little Mindshttps://peps.python.org/8#a-foolish-consistency-is-the-hobgoblin-of-little-minds
PEP 20https://peps.python.org/pep-0020/
Code Lay-outhttps://peps.python.org/8#code-lay-out
Indentationhttps://peps.python.org/8#indentation
[1]https://peps.python.org/8#fn-hi
Tabs or Spaces?https://peps.python.org/8#tabs-or-spaces
Maximum Line Lengthhttps://peps.python.org/8#maximum-line-length
multiline if-statementshttps://peps.python.org/8#multiline-if-statements
Should a Line Break Before or After a Binary Operator?https://peps.python.org/8#should-a-line-break-before-or-after-a-binary-operator
[3]https://peps.python.org/8#id7
Blank Lineshttps://peps.python.org/8#blank-lines
Source File Encodinghttps://peps.python.org/8#source-file-encoding
Importshttps://peps.python.org/8#imports
Module Level Dunder Nameshttps://peps.python.org/8#module-level-dunder-names
String Quoteshttps://peps.python.org/8#string-quotes
PEP 257https://peps.python.org/pep-0257/
Whitespace in Expressions and Statementshttps://peps.python.org/8#whitespace-in-expressions-and-statements
Pet Peeveshttps://peps.python.org/8#pet-peeves
Other Recommendationshttps://peps.python.org/8#other-recommendations
Function Annotationshttps://peps.python.org/8#function-annotations
When to Use Trailing Commashttps://peps.python.org/8#when-to-use-trailing-commas
Commentshttps://peps.python.org/8#comments
Block Commentshttps://peps.python.org/8#block-comments
Inline Commentshttps://peps.python.org/8#inline-comments
Documentation Stringshttps://peps.python.org/8#documentation-strings
PEP 257https://peps.python.org/pep-0257/
PEP 257https://peps.python.org/pep-0257/
Naming Conventionshttps://peps.python.org/8#naming-conventions
Overriding Principlehttps://peps.python.org/8#overriding-principle
Descriptive: Naming Styleshttps://peps.python.org/8#descriptive-naming-styles
[4]https://peps.python.org/8#id8
Prescriptive: Naming Conventionshttps://peps.python.org/8#prescriptive-naming-conventions
Names to Avoidhttps://peps.python.org/8#names-to-avoid
ASCII Compatibilityhttps://peps.python.org/8#ascii-compatibility
policy sectionhttps://peps.python.org/pep-3131/#policy-specification
PEP 3131https://peps.python.org/pep-3131/
Package and Module Nameshttps://peps.python.org/8#package-and-module-names
Class Nameshttps://peps.python.org/8#class-names
Type Variable Nameshttps://peps.python.org/8#type-variable-names
PEP 484https://peps.python.org/pep-0484/
Exception Nameshttps://peps.python.org/8#exception-names
Global Variable Nameshttps://peps.python.org/8#global-variable-names
Function and Variable Nameshttps://peps.python.org/8#function-and-variable-names
Function and Method Argumentshttps://peps.python.org/8#function-and-method-arguments
Method Names and Instance Variableshttps://peps.python.org/8#method-names-and-instance-variables
Constantshttps://peps.python.org/8#constants
Designing for Inheritancehttps://peps.python.org/8#designing-for-inheritance
Public and Internal Interfaceshttps://peps.python.org/8#public-and-internal-interfaces
Programming Recommendationshttps://peps.python.org/8#programming-recommendations
PEP 207https://peps.python.org/pep-0207/
PEP 3151https://peps.python.org/pep-3151/
Function Annotationshttps://peps.python.org/8#function-annotations
PEP 484https://peps.python.org/pep-0484/
PEP 484https://peps.python.org/pep-0484/
PEP 484https://peps.python.org/pep-0484/
PEP 484https://peps.python.org/pep-0484/
PEP 484https://peps.python.org/pep-0484/
PEP 484https://peps.python.org/pep-0484/
[5]https://peps.python.org/8#id9
Variable Annotationshttps://peps.python.org/8#variable-annotations
PEP 526https://peps.python.org/pep-0526/
PEP 526https://peps.python.org/pep-0526/
PEP 484https://peps.python.org/pep-0484/
1https://peps.python.org/8#id2
Referenceshttps://peps.python.org/8#references
2https://peps.python.org/8#id1
http://barry.warsaw.us/software/STYLEGUIDE.txthttp://barry.warsaw.us/software/STYLEGUIDE.txt
3https://peps.python.org/8#id3
4https://peps.python.org/8#id4
http://www.wikipedia.com/wiki/Camel_casehttp://www.wikipedia.com/wiki/Camel_case
5https://peps.python.org/8#id5
https://github.com/python/typeshedhttps://github.com/python/typeshed
Copyrighthttps://peps.python.org/8#copyright
https://github.com/python/peps/blob/main/peps/pep-0008.rsthttps://github.com/python/peps/blob/main/peps/pep-0008.rst
2025-04-04 00:19:04 GMThttps://github.com/python/peps/commits/main/peps/pep-0008.rst
Introductionhttps://peps.python.org/8#introduction
A Foolish Consistency is the Hobgoblin of Little Mindshttps://peps.python.org/8#a-foolish-consistency-is-the-hobgoblin-of-little-minds
Code Lay-outhttps://peps.python.org/8#code-lay-out
Indentationhttps://peps.python.org/8#indentation
Tabs or Spaces?https://peps.python.org/8#tabs-or-spaces
Maximum Line Lengthhttps://peps.python.org/8#maximum-line-length
Should a Line Break Before or After a Binary Operator?https://peps.python.org/8#should-a-line-break-before-or-after-a-binary-operator
Blank Lineshttps://peps.python.org/8#blank-lines
Source File Encodinghttps://peps.python.org/8#source-file-encoding
Importshttps://peps.python.org/8#imports
Module Level Dunder Nameshttps://peps.python.org/8#module-level-dunder-names
String Quoteshttps://peps.python.org/8#string-quotes
Whitespace in Expressions and Statementshttps://peps.python.org/8#whitespace-in-expressions-and-statements
Pet Peeveshttps://peps.python.org/8#pet-peeves
Other Recommendationshttps://peps.python.org/8#other-recommendations
When to Use Trailing Commashttps://peps.python.org/8#when-to-use-trailing-commas
Commentshttps://peps.python.org/8#comments
Block Commentshttps://peps.python.org/8#block-comments
Inline Commentshttps://peps.python.org/8#inline-comments
Documentation Stringshttps://peps.python.org/8#documentation-strings
Naming Conventionshttps://peps.python.org/8#naming-conventions
Overriding Principlehttps://peps.python.org/8#overriding-principle
Descriptive: Naming Styleshttps://peps.python.org/8#descriptive-naming-styles
Prescriptive: Naming Conventionshttps://peps.python.org/8#prescriptive-naming-conventions
Names to Avoidhttps://peps.python.org/8#names-to-avoid
ASCII Compatibilityhttps://peps.python.org/8#ascii-compatibility
Package and Module Nameshttps://peps.python.org/8#package-and-module-names
Class Nameshttps://peps.python.org/8#class-names
Type Variable Nameshttps://peps.python.org/8#type-variable-names
Exception Nameshttps://peps.python.org/8#exception-names
Global Variable Nameshttps://peps.python.org/8#global-variable-names
Function and Variable Nameshttps://peps.python.org/8#function-and-variable-names
Function and Method Argumentshttps://peps.python.org/8#function-and-method-arguments
Method Names and Instance Variableshttps://peps.python.org/8#method-names-and-instance-variables
Constantshttps://peps.python.org/8#constants
Designing for Inheritancehttps://peps.python.org/8#designing-for-inheritance
Public and Internal Interfaceshttps://peps.python.org/8#public-and-internal-interfaces
Programming Recommendationshttps://peps.python.org/8#programming-recommendations
Function Annotationshttps://peps.python.org/8#function-annotations
Variable Annotationshttps://peps.python.org/8#variable-annotations
Referenceshttps://peps.python.org/8#references
Copyrighthttps://peps.python.org/8#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0008.rst?plain=1

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.