Why are more and more companies opting to use Python?

Source: Internet
Author: User

Recently, Python has been widely acclaimed as a powerful and versatile programming language with very clear grammatical features, suitable for a variety of operating systems, and is currently very popular internationally and is getting more and more applications.
1. Introduction
Python, an object-oriented, literal translation of computer programming language, has nearly 20 years of development history. It includes a comprehensive set of standard libraries that can easily accomplish many common tasks. Its syntax is simple, unlike most other programming languages using curly braces, which use indentation to define the block of statements.
Python supports imperative programming, object-oriented programming, functional programming, side-oriented program design, and paradigm programming in a variety of programming paradigms.


2. Origins
The founder of Python is Guido van Rossum (Guido van Rossum).
On the origins of Python, Guido van Rossum wrote in 1996: Six years ago, in December 1989, I was looking for an "after school" program to spend time around Christmas. My office will be closed, but I have a home computer, and I don't have much of anything else. I decided to write an interpreter for a new scripting language that I was thinking of, which is a descendant of the ABC language and will be attractive to unix/c programmers. As a slightly unrelated person, and a fan of Monty's Flying Circus (Monty Python's Flying Circus), I chose Python as the title of the project.
In 2000, he wrote: Python's predecessor, ABC language, was inspired by Setl-Lambert Meertens spent a year with the Setl group at NYU before finalizing the design.


3. Philosophy and positioning
Python's design philosophy is "elegant", "clear", "simple". The Python developer's philosophy is "in one way, it's best to have only one way to do something." When designing the Python language, Python developers tend to reject the fancy syntax when faced with a variety of choices, and choose a syntax that is unambiguous or rarely ambiguous. These guidelines are called "Python maxims." Run import this in the Python interpreter to get a complete list.

4. Application scope and function
As a simple, interpretive, interactive, portable, object-oriented, ultra-high-level language. Python has an interactive development environment because Python is interpreted to run, which greatly saves time for each compilation. Python syntax is simple, and built-in with several advanced data structures, such as dictionaries, lists and so on, making it particularly easy to use, a programming experience of an afternoon can learn, general Staff can be mastered within a week. Python has most of the object-oriented language features and can be fully object-oriented programming. It can run on multiple OSes, such as MS-DOS, Windows, Windows NT, Linux, Soloris, Amiga, BeOS, OS/2, VMS, QNX, and more.


1. Programming language
Python language can be used as a batch language, write some simple tools, processing some data, as other software interface debugging. Python language can be used as a functional language for the development of artificial intelligence programs, with most of the functions of Lisp language. Python language can be used as a process language for our common application development, and can be used as VB and other languages. Python language can be used as object-oriented language, with most object-oriented language features, often as a prototype of large-scale application software development, and then rewritten in C + +, some directly with Python to develop.

2. Database
Python is also very good at databases, can connect to a variety of databases, data processing, from a business-type database to open source database support. For example: Oracle,ms SQL Server and so on. There are multiple interfaces that can be connected to a database, including at least ODBC. There are many companies that adopt the PYTHON+MYSQL structure, of course, we count the media is no exception. Therefore, mastering Python allows you to make full use of the object-oriented features in database processing.

3. Windows Programming
Python can be used not only on UNIX-type operating systems, but also in Windows systems. By adding the Pythonwin module, you can invoke and build various resources in COM form, including invoking the registry, ActiveX controls, and various kinds of COM, the most common example being the process of working with Office documents and automatically generating documents and diagrams.
With Python, you can also use the Py2exe module to generate EXE applications. There are many other routine maintenance and management tasks that can be handed to Python to reduce the amount of maintenance. With Python, you can also develop GUI programs like Vb,vc,delphi, but they can be executed on multiple platforms. This is not inferior to Java in many ways.

4. Multimedia
With PiL, Piddle, Reportlab and other modules, you can handle images, sounds, videos, animations, and more to add brilliance to your program. Dynamic chart generation, statistical analysis charts can be done through Python. In addition, there is OpenGL. With the Pyopengl module, you can write a three-dimensional scene very quickly.

5. Scientific Calculation
Python can play a unique role in the field of scientific computing in general. There are a number of modules that can help you work efficiently in computing mega arrays, vector analysis, neural networks, and more. Especially in the field of education and scientific research, can play a unique advantage.

6. Network Programming
Python can be very convenient to complete the work of network programming, provide a number of solutions and modules, can be very convenient to customize their own server software, whether C/s, or b/s mode, there is a good solution.

7. Graphical User Interface
Python can be very easy to implement GUI programming, through the TKINTER,WXPYTHON,QT and so on, you can write a powerful cross-platform user interface program as needed.

8. Game Programming
Python is an early tool in game programming. Played an important role in Star Wars. Industrial Light, an industrial abbesses metro that acts as a stunt and animation in the "Abyss", "Star Trek", "Indiana Jones" Super blockbuster, uses Python to make commercial animations. Currently, it's perfectly possible to write very good game programs through Python.

5. Development environment
Python program development tools are more, more commonly used idle,eclipse+pydev,pycharm and so on. With these tools, you can get the job done faster.
Integrated development Environment (IDE):
1.IDLE: This is the python inside, basically can meet the general development needs
2.Pycharm:pycharm is a Python IDE with a complete set of tools to help users improve their efficiency when developing with the Python language, such as debugging, syntax highlighting, project management, code jumps, smart tips, AutoComplete, unit tests, version control
3.Eclipse+pydev:eclipse is the IDE for Java, and for small partners with Java development experience, the cost of learning is small


6. Embedding and expansion
Python can be embedded in other applications, or it can be written in C + +, which can increase the speed of a program or accomplish work that can only be done with C + +. Now python can be combined with C # and incorporated into Visual Studio to implement Microsoft's. NET idea. If you speak C and then learn Python, it will be a great choice.
If you have mastered Python and want to apply it in Java, you can use Jython. Jython is a python implemented in the Java language. In this way, you can simply follow the Python syntax to invoke Java's various class libraries and quickly write Java-based programs. That is, through Jython, write Java programs. This allows for more rapid implementation of Java functionality. Python is interlinked with Java in terms of object-oriented.

7. Enterprise and Government application
At present, Python has successfully implemented enterprise-class applications, and in the world, many companies have used Python for enterprise-class software development and application, such as: ERP and CRM applications. At the same time, through the Python technology, the successful implementation of many government applications. Like what:
Zope: An application server with advanced features such as content management, team development, XML, object-oriented, SOAP interface, and open source
Gadfly: An object-oriented relational database, written in Python, is compact, fast, and portable, with most SQL language features and open source.
Some of the more famous companies are also developing with Python, such as Microsoft, IBM, Red Hat watercress, and so on.


8. Digital Media selection Python development
In conclusion, Python has withstood the test of the market and is becoming more and more popular among developers.
Digital Media Research and Development department closely follow the international forefront of IT technology development trend, using Python for Web application development. In the development process of the cloud-linked DMP Big Data management platform, make full use of the advantages of Python, effectively and stably developed the Web-based application, but also a number of media research and development team has accumulated a wealth of Python development experience, for the team's future development of the Python road laid a solid technical foundation.

Why are more and more companies opting to use Python?

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.