Skip to main content

terminal menu(一个命令行上下选择菜单)

Project description

This project is used to create menu command-line 一个快速创建命令行菜单的工具

https://github.com/gojuukaze/tty_menu/blob/master/ex.gif?raw=true

Install

pip install tty_menu

Example

from tty_menu import tty_menu

l = ['a', 'b', 'c']
pos = tty_menu(l, "What is your word?")

print("Your word is %s" % (l[pos]))

chang_log

  • 1.0.2 : rm log (移除无用log)
  • 1.0.3 : change way (更改显示菜单的方式,不在需要清屏了)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tty_menu, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size tty_menu-1.0.3-py3-none-any.whl (14.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tty_menu-1.0.3.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page