readline

Stdlib — TextPython 2.0+Intermediate

Interface to GNU readline for line-editing in the terminal

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import readline

print(f"Module: readline")
print(f"Contents: {dir(readline)[:10]}")

The readline module is part of Python's standard library. Interface to GNU readline for line-editing in the terminal.

Try in Playground

Tags

stdlibstringtext-processing