summaryrefslogtreecommitdiff
path: root/Doc/library/custominterp.rst
blob: 2a9f0a44802232a4b4cbd2def92e9143e8875b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

.. _custominterp:

**************************
Custom Python Interpreters
**************************

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 :mod:`code` module.  (The :mod:`codeop` module is lower-level, used
to support compiling a possibly-incomplete chunk of Python code.)

The full list of modules described in this chapter is:


.. toctree::

   code.rst
   codeop.rst