This lesson introduces the course by giving you an overview of what to expect in the entire course and explains why you should care about PEP 8. You’ll see that PEP 8 exists to improve the readability of Python code, helps you collaborate well with others and makes it easier for them to understand the code you write. You’ll also take a look at the Zen of Python.
What PEP 8 Is and Why You Need It
00:00 Hey there! Welcome to the Real Python guide on how to write beautiful Python code with PEP 8. In this set of videos, you’ll learn how to write code that conforms to PEP 8, understand the reasoning of why PEP 8 was laid out, and how to set up your development environment to start writing PEP 8 compliant Python. So, why should you care about PEP 8?
01:21 This could be weeks or months after you wrote it. PEP 8 is designed to help you when you come back to a piece of code so you know why you did what you did by giving you a structure to your process.
01:34 It also helps if you want to work with others. If you and your team are all writing to the same standards of code, it becomes much easier to collaborate. This becomes especially important if you’re looking to get a development job, as you’ll be expected to work well with others.
Become a Member to join the conversation.