코딩할 때 중요한 것 중 하나가 바로 가독성이다.
알아보기 쉽게 들여쓰기, 띄어쓰기 등 코드를 작성하는 방식을 통일하도록
Python을 사용하는 사람들끼리 일종의 약속으로 정한 것이 바로 Python code style guid이다.
>> PEP 8 (Python Enhancement Proposals) 에서 자세히
https://peps.python.org/pep-0008/
PEP 8 – Style Guide for Python Code | peps.python.org
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 Python.
peps.python.org
'Programming Language > Python' 카테고리의 다른 글
[Python] 기본 문법(10): format() (0) | 2024.07.20 |
---|---|
[Python] 나도코딩 파이썬 입문 - 문풀 Part8 (0) | 2024.07.20 |
[Python] 나도코딩 파이썬 입문 - 문풀 Part7 (0) | 2024.07.19 |
[Python] 기본 문법(9): 함수(Function) (0) | 2024.07.19 |
[Python] Argument vs Parameter (0) | 2024.07.19 |