This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.

# Спеціальні інтерпретатори Python

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
  - Об’єкти інтерактивного інтерпретатора
  - Інтерактивні консольні об’єкти
- `codeop` — Compile Python code