Python thinking about the GUI (turn)

Source: Internet
Author: User

User-aware
Links: https://www.zhihu.com/question/19721063/answer/21311275
Source: Know
Copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.

Python itself has a beautiful syntax, but it's ugly when it's in the GUI.
WxPython PYQT to describe the GUI in a way that is not graceful enough.
And you have a very awkward question, do you want to learn a tool that you simply can't control?
You've spent money on this wxPython in Action, and you've learned your skills. That's good. Here comes the Py3. The community is not updated. Even when the project author hangs up, see web.py, what do you do? Although there will certainly be Daniel to take over, but efficiency? you are not learning GUI programming in nature, but learning how to use tools.
That is to say, you learn these GUI, basically binds oneself to above. Python's biggest criticism is that Python always relies on other libraries to expand, without a complete sense of independence. It doesn't matter if you can do Java that way, independent or independent.
Therefore, I personally suggest that in this is not the desktop for the king of the era. Buy a HTML5 book, build a local server with a Python web framework. Although it is troublesome to learn HTML5, it is much easier to label the HTML design than to use the desktop's various GUI description languages. You don't need to manage memory at all, and you don't need to worry about asynchronous processing. Pave the way for the next line.
Python can do a bit of anything, but there are alternatives to everything. It is necessary to play the advantages of Python, the integration of resources Ah! Give the GUI rendering to the browser. Hand over the logical processing to Python.
The Python+html5+js+python framework uses experience and is also good for the future.
All you have to do is write a template and then use the framework to show it.

Python thinking about the GUI (turn)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.