Interactive Site Helpers

license — interactive site helper

Displays licensing information interactively, potentially prompting for input between pages. Printing the helper itself normally displays instructions instead. Do not invoke its interactive pager in automated scripts. This is an interactive site helper; it may be absent with -S.

Formal Syntax & Structure

python syntaxpython
license()

Return Value

None

Displays information rather than returning a useful data value.

Working Example

Example Snippetpython
import builtinshelper = builtins.licenseprint(callable(helper), bool(str(helper).strip()))
Python Reference