1989 Christmas Eve, hinting, the computer programming language Community faint big things to happen, as expected. The Guido von Rossum, a native of theNetherlands, invented Python during the Christmas boredom . Since then,Python has gotten out of hand, the industry is popular , quickly occupy the major industries, companies, enterprises, the success of the top language rankings.
now, Python early, computer memory limitations, inefficient, procedural language implementation process cumbersome, and language adaptation direction of a single, operation and maintenance scripts and program development can not be both efficient development. is full call to the function interface of the computer python language came into being. It can be said that python was born a necessity.
The birth of the Python language is at the critical moment to solve the most critical puzzles, rather than to be showdown with other languages at a higher level. python has its own unique field, can do other things cannot be done, the completion of the other can not be completed, you said that the idea is only Python Add-ons, yes, that is what you think now. So Python is characterized by ' elegance ', ' clarity ', and ' brevity '.
The origin of the name Python, because Uncle Turtle love a TV show 'Monty Python' s Flying Circus', very unique very capricious is it, Uncle Turtle: Whatcan I do for me< c10>? Python is written in C, because the original idea of Python is to create a language that is fully functional, easy to learn, and extensible, with C and Shell. So Python is a decent, approachable, and easy-to-speak.
to put it simply, compare: C language implementation is compiled into machine code, execution speed, such as thunder and lightning, code surplus thousand million;theJava language is compiled into bytecode, execution speed, code volume wagon;Python The implementation of the language is the interpretation of execution, the speed of execution is elegant, and the code is concise, with the "Moral sutra" in a word is ' few but good, Jane and far '. It's important to execute fast, right? Yes, but in most applications it is necessary to transfer data, so the speed of execution is faster, the data transmission is not the same. Never heard of it, the more powerful sports car in the four-ring road can only run a .
Python 's development trends and practical applications, there is no need to say yes, see a few news, look at a few recruitment, what is more realistic than the reality, we can do can only be to catch up with the reality and efforts.
Finally, Python 's "reincarnation" process is dashing, in the development of the 2 version of the process of use,Python3 turned out, known as py3k. So Python in the process of version transition is also bumpy, so far the 2 version of the most mature is the 2.7 version, But the official support only to 2020 years. This also shows that Python3 is already very mature, can be assured that the choice, use, version replacement.
The installation process is simple, but simple in the case of proficiency. If the first or in accordance with the Baidu Encyclopedia or under the supervision of adults installed use.
Python also has its own postcard to view the Zen of python (The Zen of Python, by Tim Peters), through the interactive Shell in Import This view.
>>> Import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren ' t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should is one--and preferably only one--obvious the-do it.
Although that is obvious at first unless you ' re Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it could be a good idea.
Namespaces is one honking great idea – let's do more than those!
President
The Zen of Python
Beauty is better than ugliness
Clarity is better than obscurity
Simplicity is better than complexity
Complexity is better than clutter
Flat is better than nesting
Spacing is better than compactness
Readability is important
Even in the name of the practicality of the special case, you must not violate these rules.
Do not tolerate all errors unless you are sure that you need to do so
When there are many possibilities, don't try to guess
Instead, try to find one, preferably the only obvious solution.
Although this is not easy, because you are not The father of Python
It may be better not to do it, but it's better not to do it without hesitation.
If you can't describe your plan to someone, it's definitely not a good plan; and vice versa.
Namespaces are a wonderful idea, and we should use them more
Chat with--python's past life