-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
PEP8 Guidelines: Python Clean Coding
By :
PEP8 Guidelines: Python Clean Coding
By:
Overview of this book
The PEP 8 document provides guidelines and best practices on how to write Python code. If you follow PEP 8, you can be sure that you have named your variables well. You will know that you have added enough whitespace so it’s easier to follow logical steps in your code. You will also have commented on your code well. All this will mean your code is more readable and easier to come back to. As a beginner, following the rules of PEP 8 can make learning Python a much more pleasant task.
We will start by installing Python and PyCharm on our systems followed by understanding the basics of Python. We will cover core concepts such as objects and data types. You will learn to take inputs from the user, and understand arithmetic and logical operations as well as loops in Python. You will learn about PEP8 code layout as well as PEP 8 imports and dunder names. You will also understand string quotes, whitespace in functions, and logical operation.
Lastly, you will learn about programming recommendations and create two practice projects to help you get familiar with the topics covered. By the end of the course, you will be able to develop full-scale professional Python projects.
All resources and code files are placed here: https://github.com/PacktPublishing/PEP8-Guidelines---Python-Clean-Coding
Table of Contents (7 chapters)
Introduction
Python Basics
PEP 8 Code Layout
Whitespace in Expressions and Statements
Naming Conventions
Annotations and Recommendations
PEP8 Practice Projects
Customer Reviews