Joke Collection Website - News headlines - What can python network programming be used for?

What can python network programming be used for?

The following are the applications and positions of Python.

Part 1: Languages ??used in various fields.

Looking at this content, you can clearly find that each language has its uses. We can say that Python is the most widely used. However, it cannot be said that it is omnipotent for the time being, because it also has its shortcomings, but for ordinary small companies and small projects, it is rare to be omnipotent.

There is a very strange phenomenon now, that is, everyone mythologizes Python. Python, as a language, does have its advantages. However, it is recommended that everyone learn a second language while learning this language well, so that it will be good for everyone in the future.

Second session: What is the positioning of Python engineers in the enterprise?

Four important positions: verification algorithm, rapid development, test operation and maintenance, and data analysis.

1. Verification algorithm: It is the verification of some common design algorithms or formulas in our company, and the formulas are coded.

2. Rapid development: Everyone should be familiar with this. Rapid development means using mature frameworks and less code to develop websites. Python has a large number of mature frameworks in the front and backend of the website, such as django. Flask, bottle, tornado, flask and django are commonly used. Domestic websites developed with Python include: Zhihu, Douban, Scallop, Tencent, and Alibaba;

3. Test operation and maintenance: implemented with python Testing tools and processes include server-side, client-side, web, andriod, client-side automated testing, automated performance test execution, monitoring and analysis, and commonly used selenium appium and other frameworks.

Operation and maintenance students should know that daily operations in Linux operation and maintenance work cover monitoring, deployment, network configuration, log analysis, security detection and many other aspects, all-inclusive. Python can write many scripts to maximize the behavior of "operation". At the same time, python is very rich in server management tools, including configuration management (saltstack) batch execution (fabric, saltstack) monitoring (Zenoss, nagios plug-in) virtualization management (python-libvirt) process management (supervisor) cloud computing ( openstack)... ?There are also python bindings for most system C libraries.

4. Data analysis: Python has three major artifacts: numpy, scipy, and matplotlib. Many of the bottom layers of numpy are implemented in C language, so it is very fast. You can use it to participate in various mathematical modeling competitions. Alternative to R language and MATLAB. Both spark and Hadoop have Python interfaces, so it is very simple to use Python to do mapreduce for big data. In addition, py has good support for databases, or ORMs like sqlalchemy are also very powerful and easy to use.

Before ending this part, do you have a question: Why is crawler not the focus?

In fact, here is a key point for everyone. If you want to learn Python well, it is very unreliable to just stay on crawlers. There are a lot of tutorials on writing crawlers in Python on the Internet. As far as everyone knows, many people who are new to Python use it to write crawler programs. It can be as small as crawling a pornographic website, or as large as a commercial application of an Internet company. Getting started with crawlers through Python is relatively simple and easy to learn. You don’t need to master too much basic and low-level knowledge at the beginning. You can get started quickly, and you can produce results quickly. It is very suitable for beginners who want to make something visible at the beginning. A sense of accomplishment in something.

In addition to getting started, crawlers are also widely used in some companies, platforms and organizations that need data. It is a very common practice to achieve some business value by crawling public data on the Internet.

Of course, the crawlers of these contestants are much more powerful and need to deal with many issues including routing, storage, distributed computing, etc. The complexity is many times different from Xiaobai’s porn-catching applet.