curses-menu:使用curses库的python中的简单控制台菜单系统-源码

上传者: 42168230 | 上传时间: 2021-08-17 19:16:47 | 文件大小: 43KB | 文件类型: ZIP
诅咒菜单 使用curses的终端上基于Python菜单的简单GUI系统。 非常适合那些需要GUI但又不想拥有成熟的GUI框架的开销或学习曲线的时代。 但是,它也足够灵活,可以做一些很酷的事情,例如菜单的即时更改,并且可以扩展到各种各样的用途。 安装 在python 2.7、3.3、3.4和3.5以及pypy和pypy 3上进行了测试。可能也可以在2.6上运行。 curses库在Linux和MacOS上与python捆绑在一起。 Windows用户可以访问并获取适用于您的平台和Python版本的第三方版本。 然后就跑 pip install curses-menu 用法 它的设计使用起来非常简单。 这是一个例子 # Import the necessary packages from cursesmenu import * from cursesmenu . items import

文件下载

资源详情

[{"title":"( 54 个子文件 43KB ) curses-menu:使用curses库的python中的简单控制台菜单系统-源码","children":[{"title":"curses-menu-master","children":[{"title":"MANIFEST.in <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"cursesmenu","children":[{"title":"old_curses_menu.py <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"selection_menu.py <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"curses_menu.py <span style='color:#111;'> 13.36KB </span>","children":null,"spread":false},{"title":"version.py <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"items","children":[{"title":"function_item.py <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"selection_item.py <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"external_item.py <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"command_item.py <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"submenu_item.py <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.rst <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"CHANGELOG.rst <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"curses-menu_screenshot1.png <span style='color:#111;'> 7.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"example.py <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"tox.ini <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"test_command_item.py <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"test_selection_menu.py <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"test_menu_item.py <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"test_submenu_item.py <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"test_external_item.py <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"test_selection_item.py <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"test_curses_menu.py <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"test_function_item.py <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"base_test_case.py <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"test_exit_item.py <span style='color:#111;'> 848B </span>","children":null,"spread":false}],"spread":true},{"title":"setup.cfg <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"LICENSE.md <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":".ackrc <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"acknowledgements.md <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"cursesmenu","children":[{"title":"SelectionMenu.rst <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"functions.rst <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"CursesMenu.rst <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"items","children":[{"title":"MenuItem.rst <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"CommandItem.rst <span style='color:#111;'> 130B </span>","children":null,"spread":false},{"title":"ExternalItem.rst <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"FunctionItem.rst <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"SubmenuItem.rst <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"SelectionItem.rst <span style='color:#111;'> 132B </span>","children":null,"spread":false},{"title":"ExitItem.rst <span style='color:#111;'> 117B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"make.bat <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"conf.py <span style='color:#111;'> 11.70KB </span>","children":null,"spread":false},{"title":"usage.rst <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"installation.rst <span style='color:#111;'> 248B </span>","children":null,"spread":false},{"title":"items.rst <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"index.rst <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 7.25KB </span>","children":null,"spread":false},{"title":"cursesmenu.rst <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明