开发者

I want to develop a framework in Python for desktop based applications. How should I go about it? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 3 years ago.

Improve this question

I want to develop a desktop application framewo开发者_如何转开发rk in Python, much like QT, but how to go about it? Any tutorials or links related to it would be helpful!


There is so many great freameworks like wxPython (Tutorial), PyQt (Tutorial), PyGtk (Tutorial) already.

You just need to try your favorite one.


You can get a pretty comprehensive list of Gui programming frameworks for Python here, http://wiki.python.org/moin/GuiProgramming


Well the best way to start is to look at the source code of the framework the other answers are talking about.

First, try to use them all to build the same application with the functionalities you expect from a framework. Them, look at how it works under the hood.

Secondly, build your framework, starting by writing your first widgets, then notice the problems with your current architecture, and re factor. Start again, until you have something stable and usable.

Eventually, find out this was nice as training experience, but useless as a contribution to the software communities since you will never reach out the qualities of existing tools.

Then give up and try to code your own MMORPG.


theres WxPython tutorial http://www.wxpython.org/tutorial.php

or PyQt http://zetcode.com/tutorials/pyqt4/

or the ever stylish Tk http://www.pythonware.com/library/tkinter/introduction/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜