未来的Python Gui? [英] Future Python Gui?

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

问题描述

我一直在努力找出Python的未来是什么?/ b
到Tk。似乎有几个接口使用了新的

功能,包括Tile等功能。和Ttk。


如果我想编写一个将在未来的标准Python

发行版下运行的程序,我应该使用什么扩展模块今天用

工作?


谢谢!


- Brian

I''ve been trying to find out what the future of Python is with regard
to Tk. It seems there are several interfaces that make use of new
functionality, including "Tile" and "Ttk".

If I want to write a program that will run under the standard Python
distribution of the future, what extension module should I work with
today?

Thanks!

-- Brian

推荐答案

4月17日9:28 pm,bcwh ... @ pobox.com < bcwh ... @ pobox.comwrote:
On Apr 17, 9:28 pm, "bcwh...@pobox.com" <bcwh...@pobox.comwrote:

我一直试图找出Python的未来是什么

到Tk。似乎有几个接口使用了新的

功能,包括Tile等功能。和Ttk。


如果我想编写一个将在未来的标准Python

发行版下运行的程序,我应该使用什么扩展模块今天使用


I''ve been trying to find out what the future of Python is with regard
to Tk. It seems there are several interfaces that make use of new
functionality, including "Tile" and "Ttk".

If I want to write a program that will run under the standard Python
distribution of the future, what extension module should I work with
today?



本月我一直在做很多阅读。


目前,没有一个工具包可用让我感觉自己处于成为下一个tkinter的位置,看起来像核心python

开发正在逐渐远离可能是$ b的扩展$ b更好地由其他方产生。每个人和他们的堂兄

对如何构建GUI有不同的想法,包括如何挂钩到其他服务。跨平台,似乎

wxPython比jython + SWT或Swing有相当大的优势。

但是特定于平台的框架也非常重要。


我会说最好的办法是学习swig和类似的
桥接,扩展和嵌入机制。

Python GUI编程是可能涉及到/或
python挂钩到像Cocoa,Qt或

wxWidgets这样的框架,嵌入在框架中的python

像Java或.NET,或者在我们的应用程序中使用
作为域特定语言,例如

emacs,vim和OpenOffice.org。

I''ve been doing a lot of reading this month.

At the moment, none of the toolkits available strike me as being in a
position to become the next tkinter, and it seems like core python
development is moving away from extensions that might be
better produced by other parties. Everyone and their cousin
have different ideas about how a GUI should be built including
how it hooks into other services. Cross-platform, it seems like
wxPython has a considerable edge over jython+SWT or Swing.
But platform-specific frameworks are also pretty important.

I''d say that the best bet is to learn swig and similar
bridging, expanding, and embedding mechanisms.
Python GUI programming is likely to involve either
python hooking into frameworks like Cocoa, Qt, or
wxWidgets, python embedded in frameworks
like Java or .NET, or flavors of python used
as domain-specific languages in applications such as
emacs, vim, and OpenOffice.org.


谢谢!


- Brian
Thanks!

-- Brian



kirkjobsluder写道:
kirkjobsluder wrote:

我会说最好的选择是学习swig和类似的b / b
桥接,扩展和嵌入机制。
I''d say that the best bet is to learn swig and similar
bridging, expanding, and embedding mechanisms.



对于GUI编程,这似乎有点矫枉过正。选择一个GUI工具包,它几乎可以保证包含在Python中使用。

Richard

For GUI programming this would seem overkill. Pick a GUI toolkit and it''s
almost guaranteed to be wrapped for use in Python already.
Richard


4月18日凌晨2:07,Richard Jones< richardjo ... @ optushome.com.au>

写道:
On Apr 18, 2:07 am, Richard Jones <richardjo...@optushome.com.au>
wrote:

kirkjobsluder写道:
kirkjobsluder wrote:

我会说最好的选择是学习swig和类似的

桥接,扩展和嵌入机制。
I''d say that the best bet is to learn swig and similar
bridging, expanding, and embedding mechanisms.



对于GUI编程,这似乎有点矫枉过正。选择一个GUI工具包,它几乎可以保证包含在Python中使用的


For GUI programming this would seem overkill. Pick a GUI toolkit and it''s
almost guaranteed to be wrapped for use in Python already.



也许有点。我并不是说每个人都应该自己包装

代码,

但是现有的许多包装纸都很薄,并且

理解

如何使用和调试包装的GUI代码可能会让人更好地了解特定的工具包。

了解特定的工具包。

Perhaps a bit. I''m not saying that everyone should wrap their own
code,
but many of the currently existing wrappers are quite thin, and
understanding
how to use and debug wrapped GUI code might put one in a better
position
over knowing a particular toolkit.


>

Richard
>
Richard



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

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