官术网_书友最值得收藏!

Why Python?

Python is a general purpose programming language. Although it is used for a wide variety of applications, Python is very suitable for developing web applications. It has a clean and elegant syntax, and is supported by a large library of standard and contributed modules, which covers everything from multi-threading to the zipping of files. The language's object-oriented model is especially suited for MVC style development.

Sooner or later, performance will become a major concern with web projects, and Python's runtime environment shines here, as it is known to be fast and stable. Python supports a wide range of web servers through modules, including the infamous Apache. Furthermore, it is available for all the major platforms: UNIX/Linux, Windows, and Mac. Python also supports a wide array of database servers, but you won't have to deal directly with them; Django provides a unified layer of access to all available database engines, as we will see later.

Python is free software; you can download and use it freely from http://python.org/. You are even allowed to distribute it without having to pay any fees. Access to the source code is available to those who want to add features or fix bugs. As a result, Python enjoys a large community of developers who quickly fix bugs and introduce new features.

Python is very easy to learn, and it is being adopted in many universities as the first programming language to be taught. Although this book assumes working knowledge of Python, advanced features will be explained as they are used. If you want to refresh your Python knowledge, you are recommended to read the official Python tutorial available at http://python.org/doc/ before continuing with this book.

To sum up, Python was chosen over many other scripting languages for this book for the following reasons:

  • Clean and elegant syntax.
  • Large standard library of modules that covers a wide range of tasks.
  • Extensive documentation.
  • Mature runtime environment.
  • Support for standard and proven technologies such as Linux and Apache.

Tip

If you want to learn more about Python and its features, the official Python website at http://python.org/ and the Python book "Dive Into Python" (freely available at http://www.diveintopython.org/) are both excellent sources.

主站蜘蛛池模板: 敖汉旗| 普兰县| 陆河县| 蓝山县| 绥德县| 赣榆县| 黄梅县| 黄龙县| 南川市| 酉阳| 鄂托克前旗| 麻栗坡县| 滦南县| 突泉县| 凤阳县| 旅游| 林西县| 黄平县| 姚安县| 班玛县| 康保县| 承德县| 平塘县| 石门县| 剑阁县| 昭觉县| 当阳市| 社旗县| 武安市| 武陟县| 张家口市| 房产| 陇南市| 神农架林区| 修武县| 宁强县| 依兰县| 铜川市| 绥宁县| 五峰| 株洲市|