Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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]))

Project details


Release history Release notifications

This version
History Node

1.0.2

History Node

1.0.1

History Node

0.23

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
tty_menu-1.0.2.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None Jun 15, 2018

Supported by

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