Загрузка страницы

pep8.org — The Prettiest Way to View the PEP 8 Python Style Guide

Improve your Python skills, one bite at a time: https://dbader.org/python-tricks

PEP 8 is the most popular code style guide for Python. It's widely known and used by the Python community. If you're looking for formatting advice on your Python code, look no further. It's a good time investment to spend a few hours reading through PEP 8 and learning how to apply its recommendation to your own projects.

A common challenge with applying PEP 8 is that the original web page on python.org for it is kind of difficult to read—for example there's no code highlighting or a persistent table of contents you can use to navigate around.

pep8.org is a project that aims to change this. It's a "nicely formatted" version of the original PEP 8 document with the goal to make this wonderful Python style guide more accessible and easier to share.

pep8.org is an open-source project that was started by Kenneth Reitz, the creator of Requests and many other popular Python packages. I was happy to bump into Kenneth at PyCon 2017 (because he's one of my personal "Python heroes") and in the course of that I became a co-maintainer for pep8.org and brought it up to date and made some small fixes to the website over the last couple of days.

In this video you'll see how pep8.org can help you write cleaner and more beautiful Python code that follows the PEP 8 community style guide.

Here's how to find it:

→ https://pep8.org
→ https://github.com/kennethreitz/pep8.org

* * *

► Subscribe to this channel: https://dbader.org/youtube/
► Free Python Articles & Tutorials: https://dbader.org/newsletter

Видео pep8.org — The Prettiest Way to View the PEP 8 Python Style Guide канала Real Python
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
1 июня 2017 г. 2:02:40
00:07:36
Яндекс.Метрика