prompt-toolkit

3.0.52 · active · verified Sat Mar 28

A Python library for building powerful interactive command-line applications. Current version: 3.0.52. Release cadence: Regular updates with new features and fixes.

Warnings

Install

Imports

Quickstart

A simple example demonstrating the usage of the 'prompt' function from prompt_toolkit.

from prompt_toolkit import prompt

if __name__ == '__main__':
    answer = prompt('Give me some input: ')
    print(f'You said: {answer}')

view raw JSON →