"Learn Python with me" some recommendations for Python

Source: Internet
Author: User
Tags wxwidgets

Seeing the unnamed posts reminds me of some of my experiences with Python, and I wrote a story.

1 Books:

Python's syntax is simple enough, semantics is not complicated, not how to confuse people, generally look at the documentation that comes with enough to learn, read the two chapters can write some non-trivial program. Hard to say introductory books. Learning in Python can be seen. The current version seems to be based on

python2.3, some things are a little bit old. For explaining Reference,reference counting more clear, if you feel confused can look at the first three parts. If there is no time, you can not read the book

Programming in Python is another book with the author, the Southeast University has a photocopy, but very thick, the book is basically the introduction to the use of Python to develop applications mainly. The example range is very wide and very practical. Many of my projects refer to a lot of code. Some of the larger programs can also learn how to use Python to build large applications. Recommended reading. The latest version includes Python 2.5

Python programming on Win32. The title is not exactly the same as the content, which accounts for about 40% of COM's content. The book was published in 1999, and the Python version is 1.5. It was a long time ago. The strange thing is that the author doesn't seem to be planning a new version. Part of the explanation for COM is good, the code can be basically directly applied, in addition to the Unicode section, when the Unicode string is not part of the standard library, so the author uses other solutions, and now of course no need.

If is to do Win32 under the development recommended reading

Python in Nutshell, the latest version of the second edition, can basically replace the Python doc. For example, there are explanations and some comments and profiles for other libraries. This book is my must, when the handbook first-class, but this book is not tutorial, when the tutorial may not be appropriate

Python cookbook. Cheats Daquan, the latest version for the second edition, there are various problems in the solution. But for me the value is not very big. Remember to refer to how to make twisted and wxpython use this article.

WxPython in action, Introduction to using WxPython. I personally think that reading the document is similar. Of course, the book can still be seen.

The above books can be found in the download

2 third-party libraries

Only recommended libraries that I actually used

WxPython: The first choice to do the interface, the effect component is rich enough, in my opinion, many times can replace Delphi. It's easy to pack and install as long as you can use Py2exe. The only downside is that under Linux it's a bit of a hassle to install from source, and because it's native look, it's not all that controls are generic. For example, multiple child window under Win32 is replaced with Tabbook under Linux. Wxpython is now almost the de facto standard graphics library. TK does not mention

Wxglade: Draw based wxwidgets window, the more eccentric is must use layout. I have tried many wxwidgets Rad. I think this is the only thing that is available, though it is a lot. Approximately 3 applications have been developed with this tool. If the C + + code is generated and contains Chinese, in the VS environment to transcode, or will be error.

Twisted: The first choice to do the network. I have used prospective broker to develop a three-layer CS architecture, the front end or the Wxpython. The development speed is very fast. Cons: Working poorly with GUI

NumPy: It is necessary to do numerical calculations, replacing the previous Numarray and Numerics. Unfortunately, the documents are for money.

Win32util,, Win32 under the necessary.

Py2exe:win32 Package Publisher Prerequisites: You can also make Win32 service programs, which is especially handy

Pyprocessing: You can let Python use the multi-core package, and the next version of Python 2.6 will join. I'm trying it out. The usage is similar to thread

PIL: Good image processing,

About the web framework: I didn't use Python to develop Web applications. So I don't know which one is good.

Extension tools:

Swig: old, but easy to use, for the C-style library is very useful. For C + + processing template requires instantiate first. I used to encapsulate some of the special Win32 APIs.

Boost-python: Better support for C + +, without writing interface files

3 Editor:

I feel that my own idle is good, very useful. There is a pyscripter written in Delphi is also good, but in this editor directly call

Programs sometimes make mistakes.

Linux can be used with the VI and Emacs. Gedit, too.

Related Article

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.