I am pretty familiar with building web based apps using python django on my linux machine. But when I decided to try my hand at building desktop applications that can run on windows/linux I didn't know where to begin.
我非常熟悉在linux机器上使用python django构建基于web的应用程序。但当我决定尝试构建可以在windows/linux上运行的桌面应用程序时,我不知道从哪里开始。
I know I can surely build windows desktop application on windows machine. But I am pretty comfortable with linux and don't want to get out of that comfort zone. Can anyone guide me as to what tools can I begin with to develop a simple windows desktop application. I would target windows 7 for starters.
我知道我肯定可以在windows机器上构建windows桌面应用程序。但是我很喜欢linux,不想离开那个舒适区。谁能告诉我,我可以从什么工具开始开发一个简单的windows桌面应用程序。我的目标是windows 7。
Any guidance is hugely appreciated.
非常感谢任何指导。
2 个解决方案
#1
1
What you are looking for is a GUI tool-kit with bindings to python. Tkinter is the de facto standard for python GUI and is cross platform. Qt is also a popular choice but the license is more restrictive then Tkinter but will allow you to transition into C++ programming with Qt easier if that is something you may want to do down the road. The choice up to you.
您正在寻找的是一个与python绑定的GUI工具箱。Tkinter是python GUI的实际标准,是跨平台的。Qt也是一个受欢迎的选择,但是许可证比Tkinter更有限制,但是如果您以后可能想要这样做的话,它将允许您更容易地过渡到使用Qt的c++编程。选择权在你。
#2
1
With python, I think your main options are:
使用python,我认为您的主要选项是:
- Tkinter, the GUI library included with Python.
- Tkinter是Python中包含的GUI库。
- wxPython, a wrapper for the cross-platform GUI API wxWidget.
- wxPython,跨平台GUI API wxWidget的包装器。
- Kivy, another cross-platform GUI library.
- 另一个跨平台的GUI库。
If you only need a simple application, any of these libraries would be a good choice.
如果您只需要一个简单的应用程序,那么这些库中的任何一个都是不错的选择。
#1
1
What you are looking for is a GUI tool-kit with bindings to python. Tkinter is the de facto standard for python GUI and is cross platform. Qt is also a popular choice but the license is more restrictive then Tkinter but will allow you to transition into C++ programming with Qt easier if that is something you may want to do down the road. The choice up to you.
您正在寻找的是一个与python绑定的GUI工具箱。Tkinter是python GUI的实际标准,是跨平台的。Qt也是一个受欢迎的选择,但是许可证比Tkinter更有限制,但是如果您以后可能想要这样做的话,它将允许您更容易地过渡到使用Qt的c++编程。选择权在你。
#2
1
With python, I think your main options are:
使用python,我认为您的主要选项是:
- Tkinter, the GUI library included with Python.
- Tkinter是Python中包含的GUI库。
- wxPython, a wrapper for the cross-platform GUI API wxWidget.
- wxPython,跨平台GUI API wxWidget的包装器。
- Kivy, another cross-platform GUI library.
- 另一个跨平台的GUI库。
If you only need a simple application, any of these libraries would be a good choice.
如果您只需要一个简单的应用程序,那么这些库中的任何一个都是不错的选择。