Skip to main content

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 (更改显示菜单的方式,不在需要清屏了)

Release files for tty_menu 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tty_menu 1.0.3
File Size Uploaded
tty_menu-1.0.3.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tty_menu 1.0.3
File Interpreter ABI Platform
tty_menu-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / tty_menu-1.0.3.tar.gz

Download URL tty_menu-1.0.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c9a0d7c91a9eb9c74fa0dfbd3e238cf3ef1b22de5dcb7774c3521f778fabc7de
BLAKE2b-256 checksum
How to use checksums
dc97e42c2c41a1507e5aeea5a071cd98eab5bed8ef660567e0ddcb391b117b39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4

Release files / tty_menu-1.0.3-py3-none-any.whl

Download URL tty_menu-1.0.3-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d7f2c6e966b64d8e027b422538001bdd7e0bf2e0a6e7c0f0ca8c6474a2baa6d
BLAKE2b-256 checksum
How to use checksums
39a9d6fc779c9ffa32b9c6fe3b1e93f036e1ce8d1563a8b28a632289f4fe3208
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

1 release file

1.0.1

1 release file

0.23

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page