介绍

../_images/34725946825_0f85497e60_k_d.jpg

来自 Python 官方网站

Python 是一种类似于 Tcl、Perl、Ruby、Scheme 或 Java 通用的高级编程语言。它的一些主要特点包括:

  • 非常清晰、可读的语法

    Python 的理念侧重于可读性,从用大量空白划定的代码块到用直观的关键词代替难以捉摸的标点符号。

  • 大量的标准库和第三方模块可用于几乎任何任务

    Python 有时被描述为 “自带电池(batteries included)”,就是因为它拥有大量的 标准库,这包括正则表达式、文件 IO、分数处理、对象序列化等。

    Additionally, the Python Package Index is available for users to submit their packages for widespread use, similar to Perl’s CPAN. There is a thriving community of very powerful Python frameworks and tools like the Django web framework and the NumPy set of math routines.

  • integration with other systems

    Python can integrate with Java libraries, enabling it to be used with the rich Java environment that corporate programmers are used to. It can also be extended by C or C++ modules when speed is of the essence.

  • ubiquity on computers

    Python is available on Windows, *nix, and Mac. It runs wherever the Java virtual machine runs, and the reference implementation CPython can help bring Python to wherever there is a working C compiler.

  • friendly community

    Python has a vibrant and large community which maintains wikis, conferences, countless repositories, mailing lists, IRC channels, and so much more. Heck, the Python community is even helping to write this guide!

关于这份指南

目的

Hitchhiker 的 Python 指南旨在为 Python 初学者和专家提供一个关于 Python 安装、配置和日常使用的最佳实践手册。

经由社区

本指南由 Kenneth Reitz 以开放的形式进行架构和维护。这是由社区驱动的成果,服务目标就是服务社区。

面向社区

所有水平的 Python 编程者对本指南所有的贡献都是欢迎的。如果您觉得本指南没有覆盖到某些内容,请在 GitHub 上 fork 指南,并提交一个 pull 请求

欢迎每个人的贡献,不管是高手还是新手。如果您对提交的合适性、完成度或者准确度方面有任何疑问,本指南的作者会非常愿意帮助您。

想要开始为 Hitchhiker 的指南做贡献,请见 Contribute 页面。