Category: Python

여러 표 형식 파일이 데이터 처리 단계를 거쳐 하나의 표 파일로 병합되는 과정

Convert and Combine Multiple Excel Files into One CSV with pandas

Read Excel workbooks and sheets with pandas, check their headers, and write one CSV while preserving text IDs. The guide also shows how to combine existing CSVs.

두 이름표가 하나의 객체를 함께 가리키는 연결을 표현한 일러스트

Python / Objects and Variables

Understand assignment as binding names to objects. Runnable examples distinguish shared lists, rebinding, immutable values, shallow and deep copies, equality and identity, del, and valid variable names.

키보드에서 입력된 값이 문자열을 담는 공간으로 이동하는 일러스트

Python / input() / Read User Input into a Variable

Read text with input(), convert and validate numbers, and handle whitespace, empty lines, multiple values and EOFError. Each example includes complete code, the input to provide and the expected program output.

코드 문서의 문제 위치를 확대경으로 검사하고 수정된 문서를 확인하는 일러스트

Python / Package / flake8: installing and using a Python code checker

Install Flake8 in a project environment, interpret F401 and E225, and verify a corrected example. Learn how PEP 8 relates to Flake8, how .flake8 configuration works, and what a successful check does not prove.

보호된 공용 폴더와 분리된 프로젝트 환경으로 패키지를 설치하는 경로를 표현한 일러스트

Python / Fix 'Access is denied' When Installing with pip on Windows

Diagnose Windows pip WinError 5 using the failed path and selected Python. Prefer a project virtual environment, understand when --user applies, and verify, repair, or remove the example installation.

일정 간격의 블록과 분리된 끝 경계 프레임으로 정수 범위를 표현한 일러스트

Python / range() / Create Consecutive or Evenly Spaced Integers

Understand start, stop, step, and the excluded endpoint in range(). Examples cover descending and empty ranges, errors, indexing, repeated iteration, enumerate(), and very large ranges.

서로 다른 형태의 객체를 분류 트레이와 돋보기로 구분하는 자료형 확인 일러스트

Python / type() / Check a Value’s Data Type

Inspect type() results and compare actual types. Runnable examples cover isinstance() and inheritance, bool versus int, variable rebinding, container contents, and the limits of type hints.

콘솔의 추상적인 데이터가 출력 리본과 파일 트레이로 전달되는 일러스트

Python / print() / Output Values as Text

Use print() with sep, end, file, and flush. Runnable examples distinguish formatting from the None return value and demonstrate UTF-8 file output, captured text, and common TypeError cases.

일반적인 코드 편집 화면의 노트북과 가상환경·프로젝트 준비를 상징하는 기어와 폴더 일러스트

Python / How to Install PyCharm

Install current PyCharm on Windows and create a Python project. Learn which installer options to select, how free core features differ from Pro, and how to configure a virtual environment and verify the first run.

문자열 단위와 인코딩된 바이트를 서로 다른 크기의 블록으로 나타낸 길이 측정 일러스트

Python / len() / Return the Length of a String

Use len() to count string code points and collection items. Examples compare spaces, combining characters and emoji, and show how to enforce a UTF-8 byte limit.