ÈÕº«ÎÞÂë

Introduction

Author

Clayton Cafiero

Published

2025-01-05

This chapter will introduce the concept of good Python style through the use of the PEP 8 style guide. We’ll further our understanding of constants, learn about the benefits of using comments, and how/when to use them effectively.

Learning objectives

  • You will learn about the importance of good Python style and the PEP 8 style guide.
  • You will learn conventions for naming constants.
  • You will learn about comments and docstrings in Python and their uses.

Terms introduced

  • camelCase
  • docstring
  • inline comment
  • PEP 8
  • single-line comment
  • snake_case

Copyright © 2023–2025 Clayton Cafiero

No generative AI was used in producing this material. This was written the old-fashioned way.

Reuse