python sort


September 20, 2008   Python — Tags: , , , — 52coding   

The principle is quick to sort out the first number, the entire array will be divided into two groups, one group is greater than the number of the other group are less than this number, and then recursive in the same way in the first set of figures and Second set of figures. That is “fast sort,” affirmed the efficiency of the general than other high-ranking algorithm, we have the following to verify, and compare the so-called “quick sort” and the “bubble sort of” performance differences.

Installing Django


August 23, 2008   Python — Tags: , , , — 52coding   

If you want to work on the bleeding edge, or if you want to contribute code to Django itself,you should install Django from its Subversion repository. Subversion is a free, open source revision-control system similar to CVS, and the Django team uses it to manage changes to the Django codebase.

Django implements a Python class, django.db.models.Model, to define data models that will be used in a website. A data model is a set of definitions that define the attributes of objects that will be stored in the database. When you build your website, you create a subclass of the Model class and add Field members to that class to define specific data. Django’s model interface provides a full-featured selection of field types that make it easy to define each model.

What Is Django?


August 22, 2008   Python — Tags: , , , — 52coding   

Django is a high-level web framework that simplifies website development. As a high-level web framework, Django abstracts much of the web development process, allowing developers to quickly implement database-backed websites using dynamic web pages.

What Is wxWidgets?


August 16, 2008   Python — Tags: , , , — 52coding   

wxWidgets is a programmer’s toolkit for writing desktop or mobile applications with graphical user interfaces (GUIs). It’s a framework, in the sense that it does a lot of the housekeeping work and provides default application behavior. The wxWidgets library contains a large number of classes and methods for the programmer to use and customize.

Installing Python


August 5, 2008   Python — Tags: , , — 52coding   

If you鈥檙e on Linux or Mac OS X, you probably already have Python installed. Type python at a command prompt (or in Terminal, in OS X). If you see something like this, then Python is installed:

Page 1 of 11