textualEasy Examples

TUI framework: terminal apps with widgets

Getting started with textual

Installation and basic usage of textual.

python
# Install: pip install textual
import textual

# Basic textual usage
print(f"Using textual")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: textual)

textual is a third-party package. TUI framework: terminal apps with widgets. Install with: pip install textual

Common textual operations

Frequently used features of textual.

python
# Install: pip install textual
import textual

# Common textual patterns
print(f"textual version: {textual.__version__}")

These are the most commonly used features of textual in everyday development.

Want to try these examples interactively?

Open Easy Playground