readline — GNU readline interface — Python 3.16.0a0 documentation

docs.python.org

Tin mới

stringprep — Internet String Preparation

rlcompleter — Completion function for GNU readline

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

Text Processing Services

WebAssembly platforms

This module is not supported on mobile platforms or WebAssembly platforms.

Requirements for optional modules

Readline keybindings may be configured via an initialization file, typically .inputrc in your home directory. See Readline Init File in the GNU Readline manual for information about the format and allowable constructs of

Readline configuration

The following example demonstrates how to use the readline module’s history reading and writing functions to automatically load and save a history file named .python_history from the user’s home directory. The code below

code.InteractiveConsole

The following example demonstrates how to use the readline module’s history reading and writing functions to automatically load and save a history file named .python_history from the user’s home directory. The code below