"Life is short, you need Python!"

  Python (British pronunciation:/ˈpaɪθən/ American pronunciation:/ˈpaɪθɑːn/)), is an object-oriented computer programming language, literal translation, with nearly 20 years of development history. It contains a set of standard library function complete, easy for many common tasks. Its syntax is simple, and most other programming languages use curly braces, it USES indentation to define blocks.

  And Scheme, Ruby, Perl, Tcl and other dynamic languages, Python have recycling function, can use the automatic memory management. It is often cited as a scripting language for handling system administration tasks and network programming, however, it is also very suitable for all kinds of advanced task. The Python virtual machine itself can almost in all operating system to run. Use some tools such as py2exe, PyPy, PyInstaller Python source code can be converted into program can run from the Python interpreter.

  Official Python interpreter is retaining, the explanation is used C language to write, is a free software community driven, currently managed by the Python software foundation.

  Python supports imperative programming, object-oriented programming, functional programming, side oriented program design, a variety of generic programming programming paradigm.

History

  Python's founder of Guido van Luo Sum (Guido van Rossum). During Christmas 1989, guido van Luo Sum in order to pass the time in Amsterdam, determined to develop a new script interpreter, as an inheritance of the ABC language. Was selected to Python, as the name of the program, because he is the BBC TV series - Monty, parson's (the Monty Python Flying Circus' s Flying Circus). Participate in design of ABC is a kind of language of instruction. Guido himself seems, ABC this language is very beautiful and strong, is specially designed for non-professional programmers. But the ABC language did not succeed, investigate its reason, that is caused by the open. Guido determination in Python to avoid this error, and obtain the very good effect, the perfect combination of C and other languages.

  In this way, the Python in the hands of guido was born. In fact, the first implementation is in the Mac. Python, as it were, from ABC, mainly by the Modula - 3 (another very beautiful and powerful language, designed for small groups). And combined with the Unix shell and the habit of C.

  At present is still a Python of major developers, decide the development direction of the Python language. Python community often call he is benevolent dictator.

  Issued by the Python 2.0 on October 16, 2000, has added to achieve complete garbage collection, and support Unicode. At the same time, the whole development process more transparent, the community's influence on the development progress. Issued by the Python 3.0 on December 3, 2008, it is not fully compatible with the previous Python source code. However, many new features were later transplanted to the old 2.6/2.7 version of Python.

  Python is fully object-oriented language. Function, module, digital, strings are objects. And completely support inheritance, overloading, derivation, multiple inheritance, will boost the source code reusability. Python supports overloaded operators, so the Python also supports generic design. Compared with the traditional function of a Lisp programming language, Python provides only limited support for functional design. There are two Standard library (functools itertools) provides with Haskell and Standard ML in similar functional programming tools.

  Although Python can be roughly classified as "scripting language (script language), but in fact, some large-scale software development projects such as Zope, Mnet and BitTorrent, Google is also widely used it. Python's supporters prefer to call it an advanced dynamic programming language, the reason is "scripting language" refers to only a simple program design language, such as a shell script, VBScript programming languages can only handle a simple task, and can not be compared with Python.

  Therefore, there are a lot of people turn Python as a kind of "language" of glue (glue language) is used. Using the Python programs written in other languages for integration and encapsulation. Within Google's many projects, such as Google App Engine using c + + write high performance requirements of parts, and then use Python or Java/Go to invoke the corresponding module. [6] author of Python technical manuals, "(Alex Martelli) said:" it's hard to tell, but, in 2004, Python has been used inside Google, Google recruiting many Python, but before that has decided to use Python. Their goal is to use Python as far as possible, when forced to switch to c + +, in the case of controlling hardware using c + +, use Python when rapid development."

Why Python?

Python is powerful... and fast; 
plays well with others; 
runs everywhere; 
is friendly & easy to learn; 
is Open.

These are some
of the reasons people who use Python would rather not use anything else.

Quotes about Python

  Python is used successfully in thousands of real-world business applications around the world, including many large and mission critical systems. Here are some quotes from happy Python users:

YouTube.com

  "Python is fast enough for our site and allows us to produce maintainable features in record times, with a minimum of developers," said Cuong Do, Software Architect, YouTube.com.

Industrial Light & Magic

  "Python plays a key role in our production pipeline. Without it a project the size of Star Wars: Episode II would have been very difficult to pull off. From crowd rendering to batch processing to compositing, Python binds all things together," said Tommy Burnette, Senior Technical Director, Industrial Light & Magic.

  "Python is everywhere at ILM. It's used to extend the capabilities of our applications, as well as providing the glue between them. Every CG image we create has involved Python somewhere in the process," said Philip Peterson, Principal Engineer, Research & Development, Industrial Light & Magic.

Google

  "Python has been an important part of Google since the beginning, and remains so as the system grows and evolves. Today dozens of Google engineers use Python, and we're looking for more people with skills in this language." said Peter Norvig, director of search quality at Google, Inc.

Journyx

  "Journyx technology, from the source code of our software to the code that maintains our Web site and ASP sites, is entirely based on Python. It increases our speed of development and keeps us several steps ahead of competitors while remaining easy to read and use. It's as high level of a language as you can have without running into functionality problems. I estimate that Python makes our coders 10 times more productive than Java programmers, and 100 times more than C programmers." -- Curt Finch, CEO, Journyx

IronPort

  "IronPort email gateway appliances are used by the largest corporations and ISPs in the world," said Mark Peek, Sr. Director of Engineering at IronPort Systems. "Python is a critical ingredient in this high performance system. IronPort's suite of products contains over a million lines of Python. The PSF is an invaluable resource that helps keep Python on the cutting edge."

EVE Online

  "Python enabled us to create EVE Online, a massive multiplayer game, in record time. The EVE Online server cluster runs over 50,000 simultaneous players in a shared space simulation, most of which is created in Python. The flexibilities of Python have enabled us to quickly improve the game experience based on player feedback" said Hilmar Veigar Petursson of CCP Games.

HomeGain

  "HomeGain maintains its commitment to continual improvement through rapid turnaround of new features and enhancements. Python supports this short time-to-market philosophy with concise, clear syntax and a powerful standard library. New development proceeds rapidly, and maintenance of existing code is straightforward and fast," said Geoff Gerrietts, Software Engineer, HomeGain.com.

Thawte Consulting

  "Python makes us extremely productive, and makes maintaining a large and rapidly evolving codebase relatively simple," said Mark Shuttleworth.

University of Maryland

  "I have the students learn Python in our undergraduate and graduate Semantic Web courses. Why? Because basically there's nothing else with the flexibility and as many web libraries," said Prof. James A. Hendler.

EZTrip.com

  "The travel industry is made up of a myriad supplier data feeds all of which are proprietary in some way and are constantly changing. Python repeatedly has allowed us to access, build and test our in-house communications with hundreds of travel suppliers around the world in a matter of days rather then the months it would have taken using other languages. Since adopting Python 2 years ago, Python has provided us with a measurable productivity gain that allows us to stay competitive in the online travel space," said Michael Engelhart, CTO of EZTrip.com.

RealEstateAgent.com

  "Python in conjunction with PHP has repeatedly allowed us to develop fast and proficient applications that permit Real Estate Agent .com to operate with minimal resources. Python is a critical part of our dynamically growing cluster directory of real estate agents." said Gadi Hus, Webmaster, Volico Web Consulting

Firaxis Games

  "Like XML, scripting was extremely useful as both a mod tool and an internal development tool. If you don't have any need to expose code and algorithms in a simple and safe way to others, you can argue that providing a scripting language is not worth the effort. However, if you do have that need, as we did, scripting is a no brainer, and it makes complete sense to use a powerful, documented, cross-platform standard such as Python." -- Mustafa Thamer of Firaxis Games, talking about Civilization IV. Quoted on page 18 of the August 2005 Game Developer Magazine.

  "Python, like many good technologies, soon spreads virally throughout your development team and finds its way into all sorts of applications and tools. In other words, Python begins to feel like a big hammer and coding tasks look like nails." -- Mustafa Thamer of Firaxis Games, talking about Civilization IV. Quoted on page 18 of the August 2005 Game Developer Magazine.

  "We chose to use python because we wanted a well-supported scripting language that could extend our core code. Indeed, we wrote much more code in python than we were expecting, including all in-game screens and the main interface. It was a huge win for the project because writing code in a language with garbage collection simply goes faster than writing code in C++. The fact that users will be able to easily mod the interface is a nice plus as well. The downside of python was that it significantly increased our build times, mostly from linking with Boost."

  -- Soren Johnson, lead designer, Civilization IV. Quoted in a Slashdot interview

Introduction of python的更多相关文章

  1. [译]The Python Tutorial#3. An Informal Introduction to Python

    3. An Informal Introduction to Python 在以下示例中,输入和输出以提示符(>>>和...)的出现和消失来标注:如果想要重现示例,提示符出现时,必须 ...

  2. Python Tutorial 学习(三)--An Informal Introduction to Python

    3.1. 将Python用作计算器 3.1.1. Numbers 数 作为一个计算器,python支持简单的操作, '+','-','*','/'地球人都知道的加减乘除. ()可以用来改变优先级,同数 ...

  3. introduction to python for statistics,analysis笔记3

    一.产生数组和矩阵 1.linspace(start,end,number),产生在start和end数之间number个数 >>> x = linspace(, , ) >& ...

  4. introduction to python for statistics,analysis笔记2

    一.行列式连接concatenate函数,axis=0是垂直拼接,axis=1是水平拼接 x=np.array([[],[,]]); y=np.array([[],[,]]); z=np.concat ...

  5. [Python] 学习资料汇总

    Python是一种面向对象的解释性的计算机程序设计语言,也是一种功能强大且完善的通用型语言,已经有十多年的发展历史,成熟且稳定.Python 具有脚本语言中最丰富和强大的类库,足以支持绝大多数日常应用 ...

  6. <译>Selenium Python Bindings 1 - Installation

    Installation Introduction Selenium Python bindings 提供了一个简单的API来使用Selenium WebDriver编写使用功能/验收测试.通过Sel ...

  7. Python 问题集

    1.问题:打开Python的IDLE(集成开发环境/Integrated DeveLopment Environment) 然后在Python的shell中做如下动作时: >>>py ...

  8. [译]Python作为一种编程语言有多强大?

    Quora上有个问题:Python作为一种编程语言有多强大? 以下是Patrycja Okowicka的回答 说实话,Python是一门强大的语言,几乎所有东西都可以用Python创建!这就是为什么它 ...

  9. Notes for "Python in a Nutshell"

    Introduction to Python Wrap C/C++ libraries into Python via Cython and CFFI. Python implementations ...

随机推荐

  1. DailyTick 开发实录 —— 开始

    2009 年我读了李笑来老师的<把时间当朋友>,知识了柳比歇夫的时间记录法.当时激动坏了,马上动手实践起来.一开始的时候,是用一个小本子,走到哪儿都带着.完成一件事,就记录一下花费的时间. ...

  2. ASP.NET Aries 入门开发教程1:框架下载与运行

    背景: 鉴于框架的使用者越来越多,文档太少,不少用户反映框架的入门门槛太高. 好吧,再辛苦下,抽时间写教程吧! 步骤1:下载框架源码 开源地址:https://github.com/cyq1162/A ...

  3. UITextView 输入字数限制

    本文介绍了UITextView对中英文还有iOS自带表情输入的字数限制,由于中文输入会有联想导致字数限制不准确所以苦恼好久,所以参考一些大神的博客终于搞定,欢迎大家参考和指正. 对于限制UITextV ...

  4. 【原】AFNetworking源码阅读(三)

    [原]AFNetworking源码阅读(三) 本文转载请注明出处 —— polobymulberry-博客园 1. 前言 上一篇的话,主要是讲了如何通过构建一个request来生成一个data tas ...

  5. 前端学HTTP之重定向和负载均衡

    前面的话 HTTP并不是独自运行在网上的.很多协议都会在HTTP报文的传输过程中对其数据进行管理.HTTP只关心旅程的端点(发送者和接收者),但在包含有镜像服务器.Web代理和缓存的网络世界中,HTT ...

  6. C# 生成验证码图片时消除锯齿

    引言 基于生成图片实现了一个手机号转图片的需求. 内容也很简单,直接用手机号生成一个png图片.就是为了背景透明以便其他地方调用. 有无锯齿主要依靠一句代码:g.TextRenderingHint= ...

  7. 在Linux虚拟机下配置jdk的环境变量

    1.到Oracle公司的官网里下载好jdk,网址 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133 ...

  8. Linux目录结构

  9. linux基础命令

    系统信息 arch 显示机器的处理器架构(1) uname -m 显示机器的处理器架构(2) uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 - (SMBIOS ...

  10. Linux自动共享USB设备:udev+Samba

    一.概述 公司最近要我实现USB设备插入Ubuntu后,自动共享到网络上,能像Windows共享一样(如\\192.168.1.10)访问里面的内容,不需要写入权限.当时听完这需求,我这新人表示惊呆了 ...