Introduction of python
|
"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.
"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的更多相关文章
- [译]The Python Tutorial#3. An Informal Introduction to Python
3. An Informal Introduction to Python 在以下示例中,输入和输出以提示符(>>>和...)的出现和消失来标注:如果想要重现示例,提示符出现时,必须 ...
- Python Tutorial 学习(三)--An Informal Introduction to Python
3.1. 将Python用作计算器 3.1.1. Numbers 数 作为一个计算器,python支持简单的操作, '+','-','*','/'地球人都知道的加减乘除. ()可以用来改变优先级,同数 ...
- introduction to python for statistics,analysis笔记3
一.产生数组和矩阵 1.linspace(start,end,number),产生在start和end数之间number个数 >>> x = linspace(, , ) >& ...
- introduction to python for statistics,analysis笔记2
一.行列式连接concatenate函数,axis=0是垂直拼接,axis=1是水平拼接 x=np.array([[],[,]]); y=np.array([[],[,]]); z=np.concat ...
- [Python] 学习资料汇总
Python是一种面向对象的解释性的计算机程序设计语言,也是一种功能强大且完善的通用型语言,已经有十多年的发展历史,成熟且稳定.Python 具有脚本语言中最丰富和强大的类库,足以支持绝大多数日常应用 ...
- <译>Selenium Python Bindings 1 - Installation
Installation Introduction Selenium Python bindings 提供了一个简单的API来使用Selenium WebDriver编写使用功能/验收测试.通过Sel ...
- Python 问题集
1.问题:打开Python的IDLE(集成开发环境/Integrated DeveLopment Environment) 然后在Python的shell中做如下动作时: >>>py ...
- [译]Python作为一种编程语言有多强大?
Quora上有个问题:Python作为一种编程语言有多强大? 以下是Patrycja Okowicka的回答 说实话,Python是一门强大的语言,几乎所有东西都可以用Python创建!这就是为什么它 ...
- Notes for "Python in a Nutshell"
Introduction to Python Wrap C/C++ libraries into Python via Cython and CFFI. Python implementations ...
随机推荐
- 【探索】在 JavaScript 中使用 C 程序
JavaScript 是个灵活的脚本语言,能方便的处理业务逻辑.当需要传输通信时,我们大多选择 JSON 或 XML 格式. 但在数据长度非常苛刻的情况下,文本协议的效率就非常低了,这时不得不使用二进 ...
- 简单粗暴地理解js原型链--js面向对象编程
原型链理解起来有点绕了,网上资料也是很多,每次晚上睡不着的时候总喜欢在网上找点原型链和闭包的文章看,效果极好. 不要纠结于那一堆术语了,那除了让你脑筋拧成麻花,真的不能帮你什么.简单粗暴点看原型链吧, ...
- 8.仿阿里云虚拟云服务器的FTP(包括FTP文件夹大小限制)
平台之大势何人能挡? 带着你的Net飞奔吧!:http://www.cnblogs.com/dunitian/p/4822808.html#iis 原文:http://dnt.dkill.net/Ar ...
- 【原】AFNetworking源码阅读(一)
[原]AFNetworking源码阅读(一) 本文转载请注明出处 —— polobymulberry-博客园 1. 前言 AFNetworking版本:3.0.4 由于我平常并没有经常使用AFNetw ...
- Java中Comparable与Comparator的区别
相同 Comparable和Comparator都是用来实现对象的比较.排序 要想对象比较.排序,都需要实现Comparable或Comparator接口 Comparable和Comparator都 ...
- VS2015常用快捷键总结
生成解决方案 F6,生成项目Shift+F6 调试执行F5,终止调试执行Shift+F5 执行调试Ctrl+F5 查找下一个F3,查找上一个Shift+F3 附加到进程Ctrl+Alt+P,逐过程F1 ...
- 满堂红CIO邓劲翔:房屋中介突围
人脸识别.客户关系管理进度监控.业务流程实时监控.网站访问人数及流量实时监控等实际企业应用场景淋漓尽致.羽羽如生的以大屏幕上图表形式展现在人们面前,如果你不去继续询问,你不会知道这是一家才刚刚在房地产 ...
- 机器指令翻译成 JavaScript —— No.6 深度优化
第一篇 中我们曾提到,JavaScript 最终还得经过浏览器来解析.因此可以把一些优化工作,交给脚本引擎来完成. 现代浏览器的优化能力确实很强,但是,运行时的优化终归是有限的.如果能在事先实现,则可 ...
- 【腾讯Bugly干货分享】动态链接库加载原理及HotFix方案介绍
本文来自于腾讯bugly开发者社区,非经作者同意,请勿转载,原文地址:http://dev.qq.com/topic/57bec216d81f2415515d3e9c 作者:陈昱全 引言 随着项目中动 ...
- 字符型图片验证码识别完整过程及Python实现
字符型图片验证码识别完整过程及Python实现 1 摘要 验证码是目前互联网上非常常见也是非常重要的一个事物,充当着很多系统的 防火墙 功能,但是随时OCR技术的发展,验证码暴露出来的安全问题也越 ...