mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
+88
-88
@@ -1,88 +1,88 @@
|
|||||||
Introduction
|
Introduction
|
||||||
============
|
============
|
||||||
|
|
||||||
From the `official Python website <http://python.org/about/>`_:
|
From the `official Python website <http://python.org/about/>`_:
|
||||||
|
|
||||||
Python is a general-purpose, high-level programming language similar
|
Python is a general-purpose, high-level programming language similar
|
||||||
to Tcl, Perl, Ruby, Scheme, or Java. Some of its main key features
|
to Tcl, Perl, Ruby, Scheme, or Java. Some of its main key features
|
||||||
include:
|
include:
|
||||||
|
|
||||||
* very clear, readable syntax
|
* very clear, readable syntax
|
||||||
|
|
||||||
Python's philosophy focuses on readability, from code blocks
|
Python's philosophy focuses on readability, from code blocks
|
||||||
delineated with significant whitespace to intuitive keywords in
|
delineated with significant whitespace to intuitive keywords in
|
||||||
place of inscrutable punctuation
|
place of inscrutable punctuation
|
||||||
|
|
||||||
* extensive standard libraries and third party modules for virtually
|
* extensive standard libraries and third party modules for virtually
|
||||||
any task
|
any task
|
||||||
|
|
||||||
Python is sometimes described with the words "batteries included"
|
Python is sometimes described with the words "batteries included"
|
||||||
for its extensive
|
for its extensive
|
||||||
`standard library <http://docs.python.org/library/>`_, which can
|
`standard library <http://docs.python.org/library/>`_, which can
|
||||||
includes modules for regular expressions, file IO, fraction handling,
|
includes modules for regular expressions, file IO, fraction handling,
|
||||||
object serialization, and much more.
|
object serialization, and much more.
|
||||||
|
|
||||||
Additionally, the
|
Additionally, the
|
||||||
`Python Package Index <http://pypi.python.org/pypi/>`_ is available
|
`Python Package Index <http://pypi.python.org/pypi/>`_ is available
|
||||||
for users to submit their packages for widespread use, similar to
|
for users to submit their packages for widespread use, similar to
|
||||||
Perl's `CPAN <http://www.cpan.org>`_. There is a thriving community
|
Perl's `CPAN <http://www.cpan.org>`_. There is a thriving community
|
||||||
of very powerful Python frameworks and tools like
|
of very powerful Python frameworks and tools like
|
||||||
the `Django <http://www.djangoproject.com>`_ web framework and the
|
the `Django <http://www.djangoproject.com>`_ web framework and the
|
||||||
`NumPy <http://numpy.scipy.org>`_ set of math routines.
|
`NumPy <http://numpy.scipy.org>`_ set of math routines.
|
||||||
|
|
||||||
* integration with other systems
|
* integration with other systems
|
||||||
|
|
||||||
Python can integrate with `Java libraries <http://www.jython.org>`_,
|
Python can integrate with `Java libraries <http://www.jython.org>`_,
|
||||||
enabling it to be used with the rich Java environment that corporate
|
enabling it to be used with the rich Java environment that corporate
|
||||||
programmers are used to. It can also be
|
programmers are used to. It can also be
|
||||||
`extended by C or C++ modules <http://docs.python.org/extending/>`_
|
`extended by C or C++ modules <http://docs.python.org/extending/>`_
|
||||||
when speed is of the essence.
|
when speed is of the essence.
|
||||||
|
|
||||||
* ubiquity on computers
|
* ubiquity on computers
|
||||||
|
|
||||||
Python is available on Windows, \*nix, and Mac. It runs wherever the
|
Python is available on Windows, \*nix, and Mac. It runs wherever the
|
||||||
Java virtual machine runs, and the reference implementation CPython
|
Java virtual machine runs, and the reference implementation CPython
|
||||||
can help bring Python to wherever there is a working C compiler.
|
can help bring Python to wherever there is a working C compiler.
|
||||||
|
|
||||||
* friendly community
|
* friendly community
|
||||||
|
|
||||||
Python has a vibrant and large :ref:`community <the-community>`
|
Python has a vibrant and large :ref:`community <the-community>`
|
||||||
which maintains wikis, conferences, countless repositories,
|
which maintains wikis, conferences, countless repositories,
|
||||||
mailing lists, IRC channels, and so much more. Heck, the Python
|
mailing lists, IRC channels, and so much more. Heck, the Python
|
||||||
community is even helping to write this guide!
|
community is even helping to write this guide!
|
||||||
|
|
||||||
|
|
||||||
.. _about-ref:
|
.. _about-ref:
|
||||||
|
|
||||||
About This Guide
|
About This Guide
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
Purpose
|
Purpose
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
||||||
The Hitchhiker's Guide to Python exists to provide both novice and expert
|
The Hitchhiker's Guide to Python exists to provide both novice and expert
|
||||||
Python developers a best-practice handbook to the installation, configuration,
|
Python developers a best-practice handbook to the installation, configuration,
|
||||||
and usage of Python on a daily basis.
|
and usage of Python on a daily basis.
|
||||||
|
|
||||||
|
|
||||||
By the Community
|
By the Community
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
This guide is architected and maintained by `Kenneth Reitz
|
This guide is architected and maintained by `Kenneth Reitz
|
||||||
<https://github.com/kennethreitz>`_ in an open fashion. This is a
|
<https://github.com/kennethreitz>`_ in an open fashion. This is a
|
||||||
community-driven effort that serves one purpose: to serve the community.
|
community-driven effort that serves one purpose: to serve the community.
|
||||||
|
|
||||||
For the Community
|
For the Community
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
All contributions to the Guide are welcome, from Pythonistas of all levels.
|
All contributions to the Guide are welcome, from Pythonistas of all levels.
|
||||||
If you think there's a gap in what the Guide covers, fork the Guide on
|
If you think there's a gap in what the Guide covers, fork the Guide on
|
||||||
GitHub and submit a pull request. Contributions are welcome from everyone,
|
GitHub and submit a pull request. Contributions are welcome from everyone,
|
||||||
whether they're an old hand or a first-time Pythonista, and the authors to
|
whether they're an old hand or a first-time Pythonista, and the authors to
|
||||||
the Guide will gladly help if you have any questions about the
|
the Guide will gladly help if you have any questions about the
|
||||||
appropriateness, completeness, or accuracy of a contribution.
|
appropriateness, completeness, or accuracy of a contribution.
|
||||||
|
|
||||||
To get started working on The Hitchhiker's Guide, see
|
To get started working on The Hitchhiker's Guide, see
|
||||||
the :doc:`/notes/contribute` page.
|
the: doc:`/notes/contribute` page.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user