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 ...
随机推荐
- Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级
Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级 环境:OEL 5.7 + Oracle 10.2.0.5 RAC 5.安装Database软件 5. ...
- Java中的多态
1.多态:具有表现多种形态的能力的特征 父类: public abstract class Animal {public abstract void Say();} 子类: public class ...
- WCF学习之旅—第三个示例之四(三十)
上接WCF学习之旅—第三个示例之一(二十七) WCF学习之旅—第三个示例之二(二十八) WCF学习之旅—第三个示例之三(二十九) ...
- Windows 常用运行库下载 (DirectX、VC++、.Net Framework等)
经常听到有朋友抱怨他的电脑运行软件或者游戏时提示缺少什么 d3dx9_xx.dll 或 msvcp71.dll.msvcr71.dll又或者是 .Net Framework 初始化之类的错误而无法正常 ...
- java使用websocket,并且获取HttpSession,源码分析
转载请在页首注明作者与出处 http://www.cnblogs.com/zhuxiaojie/p/6238826.html 一:本文使用范围 此文不仅仅局限于spring boot,普通的sprin ...
- beans.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.sp ...
- docker4dotnet #2 容器化主机
.NET 猿自从认识了小鲸鱼,感觉功力大增.上篇<docker4dotnet #1 前世今生&世界你好>中给大家介绍了如何在Windows上面配置Docker for Window ...
- weinre- 调试移动端页面
相信很多前端的小伙伴一定会遇到一个问题, 比如我编写完一个页面,某个地方需要进行调整细节或者是哪个地方怎么调整都不对,在pc端还好,有google,firefox之类可以调节页面的工具,虽说这些工具有 ...
- BZOJ 1146: [CTSC2008]网络管理Network [树上带修改主席树]
1146: [CTSC2008]网络管理Network Time Limit: 50 Sec Memory Limit: 162 MBSubmit: 3522 Solved: 1041[Submi ...
- clang_intprt_t类型探究
作者:玄魂工作室-钱海龙 问题 这篇手把手教你构建 C 语言编译器,里面有着这样的代码 void eval() { int op, *tmp; while (1) { if (op == IMM) { ...