File: simplerepl.rst

package info (click to toggle)
bpython 0.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,144 kB
  • sloc: python: 11,682; xml: 53; makefile: 5; sh: 2
file content (9 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
.. _simplerepl:

A Simple REPL
=============

The following code listing shows a simple example REPL implemented using `bpython` and `curtsies`.

.. literalinclude:: simplerepl.py
   :language: python