Skip to content
Myr

gum.py

This file

Path

examples/gum.py

7 lines · 202 bytes · Python

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 6837ed2 point at it.

feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2

lines 1–7why, one step back
1import subprocess
23print("What's your favorite language?")45result = subprocess.run(["gum", "choose", "Go", "Python"], stdout=subprocess.PIPE, text=True)67print(f"I like {result.stdout.strip()}, too!")