Python 中的消息框 [英] Message Box in Python

查看:31
本文介绍了Python 中的消息框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

python 有没有可以创建消息框或输入框的 UI 库?

Is there a UI library to create a message box or input box in python?

推荐答案

你最好的选择是 tkMessageBox 模块,它应该适用于所有系统(因为 Python 通常会与 Tkinter 一起提供).

Your best bet is the tkMessageBox module, which should work on all systems (as Python will typically come with Tkinter).

如果您可以限制自己使用特定的操作系统,那么可能会有更好的选择.

If you can restrict yourself to a specific operating system, better choices might be available.

这篇关于Python 中的消息框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆