# 사용자 정의 파이썬 인터프리터

The modules described in this chapter allow writing interfaces similar to Python’s interactive interpreter. If you want a Python interpreter that supports some special feature in addition to the Python language, you should look at the `code` module. (The `codeop` module is lower-level, used to support compiling a possibly incomplete chunk of Python code.)

이 장에서 설명하는 모듈의 전체 목록은 다음과 같습니다:

- `code` — Interpreter base classes
  - `InteractiveInterpreter`
  - `InteractiveConsole`
  - `interact()`
  - `compile_command()`
  - 대화형 인터프리터 객체
    - `runsource()`
    - `runcode()`
    - `showsyntaxerror()`
    - `showtraceback()`
    - `write()`
  - 대화형 콘솔 객체
    - `interact()`
    - `push()`
    - `resetbuffer()`
    - `raw_input()`
- `codeop` — Compile Python code
  - `compile_command()`
  - `Compile`
  - `CommandCompiler`