Skip to main content

Style Guide for Python

  • Chapter
Pro Python

Abstract

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 Python1.

http://propython.com/pep-7

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

Authors

Editor information

Clay Andres Steve Anglin Mark Beckner Ewan Buckingham Gary Cornell Jonathan Gennick Jonathan Hassell Michelle Lowman Matthew Moodie Duncan Parkes Jeffrey Pepper Frank Pohlmann Douglas Pundick Ben Renow-Clarke Dominic Shakeshaft Matt Wade Tom Welsh Mary Tobin Nancy Sixsmith Angel Alchin

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Marty Alchin

About this chapter

Cite this chapter

van Rossum, G., Warsaw, B. (2010). Style Guide for Python. In: Andres, C., et al. Pro Python. Apress. https://doi.org/10.1007/978-1-4302-2758-8_12

Download citation

Publish with us

Policies and ethics