Re: Introduction to the introductory-python programming language

Source: Internet
Author: User
Tags readable

PS: In fact, I am also learning offensive and defensive technology , but only recently made up the Python programming language, all future articles will be about Python, before learning the Python language, there will always be someone to say what Python is easy and simple, In fact, only the real programmers know the beginning to learn the pain of programming, but this kind of suffering with everyone is kuzhongzuoyue, often some people say that python execution speed is relatively slow, I just want to say, you can distinguish between the naked eye 0.1 seconds with 0.00001 seconds of the distinction?

The content of this section:

    • 2 Why people use Python
    • 2 Python's wide range of fields
    • 2 Development efficiency of Python
    • 2 What to do with python
    • 2 python vs. Other languages

Why people use Python:

There are many optional programming languages, which is often the choice to face, I myself learn python just look at it more simple and clear to learn, now the Python user estimates should also have about 1 million, I can not answer this question, because each language has its own characteristics, Like a joke called :"You give me to write an operating system in easy language to try?" ”

I wrote the following for my personal choice of Python:

Software quality:

To a large extent, Python is more focused on readability and software quality and consistency ,and Python supports advanced reuse mechanisms for software development, such as object-oriented programming (OPP, Object-orienter programming)

Development efficiency:

Although some people say Python's execution is slow, but its personal development efficiency is very high, compared to C, C + + and Java, the static type of language, Python development efficiency is better, sometimes, in C language needs 200 lines to complete the project, Python may only need 20 rows or so.

Powerful third-party libraries:

  Python's most powerful is its own library, right? The Python library can be used as a variety of fields, and the standard library that comes with it supports the development of a third party, which is a great use, without worrying about the lack of libraries and developing their own calls.

Component:

  Python scripting is a flexible mechanism for easily communicating with other parts of the application, which makes Python a tool for product customization and expansion, integrates with Java components, and communicates with frameworks such as COM and . NET.

Easy to learn:

  This is beyond doubt, as Python's grammatical rules are simple and straightforward, so it's easier to learn than other programming languages, so we can quickly learn and master a programming language.

Python's broad range of areas:

  so that's the question. Python, where does its personal application cover those areas?

  • 2 Youtube-the world's largest video web site developed using Python
  • 2 Popular peer file sharing system Bitjorrent developed with python
  • 2 EVE Online This multiplayer online game is widely used in Python.
  • 2 Maya 's powerful, integrated 3D modeling and animation system that provides a Python API
  • 2 Intel, Cisco, Hewlett-Packard, Seagate, Qualcomm, and IBM use Python for hardware development and testing.
  • 2 for economic markets, theChase, UBS, Getco and citadel of JPMorgan use Python
  • 2 irobot using Python to develop a commercial robot vacuum cleaner
  • 2 NASA (NASA), Los Alamos, Fermilab, JPL, etc. use Python for scientific computing
  • 2 ESRI uses Python as a custom tool for end users in its popular GIS maps
  • 2 NSA uses python in encryption and intelligence analysis
  • 2 Python code implementation jobs with more than 1 million lines of IronPort email server products
  • 2 using Python to build its user interface and action modules

Python's development efficiency:

Python has always been committed to the optimization of the speed of development: concise syntax, dynamic type, no need to compile, built-in toolkit and other features so that programmers can quickly complete project development, the only drawback of the Python language is: It is not fast enough Python's implementation of the code means that the source code statements are compiled into bytecode once, in the Python suffix (. PYc), then the bytecode is interpreted, bytecode is portable, butpython has been optimized multiple times , and Python code is running fast enough in most applications, and in fact Python's execution speed has been running at the speed of the C language, such as working with a graphical interface (GUI).

What to do with Python:

 Python's goal is not just to design a good programming language, it can accomplish the various tasks required in reality, including what developers do day in and day out, in fact, Python's applications are almost limitless: You can use Python for development or academic research on any occasion, From website or game development to the control of robots and space shuttles.

Python application areas are broadly categorized:

    • System programming
    • User Graphics interface
    • Internet scripts
    • Component integration
    • Database programming
    • Rapid prototyping
    • Numerical calculation and scientific calculation
    • Game development
    • Graphic image Processing
    • Artificial intelligence
    • XML development
    • Robot development
    • Web Services
    • Crawler development

Python vs. other programming languages

  • Stronger than Tcl, Python supports "mass programming". Make it suitable for developing large systems
  • With a simpler syntax and simpler design than Perl, this makes Python more readable, easier to maintain, and helps reduce program bugs.
  • Simpler and easier to use than Java, Python is a scripting language, and Java inherits a lot of syntax and complexity from system-wide languages like C + +
  • Simpler and easier to use than C + +, but usually does not compete with C + +, because Python, as a scripting language, often plays many different roles.
  • More powerful and cross-platform than Visual Basic, because Python is open source, it means it can't be controlled by one company.
  • More understandable and versatile than PHP, Python is sometimes used to build web sites, but it is also widely used in almost every computer field, from robotics to movie animation
  • More mature than Ruby, syntax is more readable, and unlike Ruby and Java, OOP is optional for Python: This means that Python does not force users or projects to choose OPP development.
  • Features dynamic types such as Smalltalk and Lisp, but is simpler for developers and end users of custom systems, and closer to the syntax of traditional programming languages.

Re: Introduction to the introductory-python programming language

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.