Common third-party library records in Python

Source: Internet
Author: User
Tags install django pip install django virtualenv

There are a lot of good third-party libraries in Python, now record the libraries and how to download them.

First, virtualenv, this is a production environment can be isolated from the Python library, very useful

Use pip install virtualenv under Linux

Virtualenvwrapper-win is recommended under window, pip install Virtualenvwrapper-win

A simple introduction to this library use one step in another article

Http://www.cnblogs.com/lgh344902118/p/7010797.html

Second, requests, this is a request network data third-party library, can be used to do a simple crawler, including get,post,put,delete and so on request way

There's a urllib library that looks like him, but it feels requests more useful.

Installation mode PIP install requests

Third, website development

Web site development has two more well-known third-party libraries

One is Django, one is flask.

The difference is that Django has a lot of useful plugins built into it (admin,csrf_token, etc.), and flask relies only on the JINJIA2 template engine and Werkzeug WSGI toolset

Simply put, Django helps you do a lot of things, and flask is more free, Django is for beginners, and flask needs some development experience. (Personal feeling)

Installation mode pip install Django,pip install flask

Four, crawler

Crawlers and web site development should be a wide range of Python applications.

The framework of the more famous reptiles is scrapy, and the automated test framework Selenium

The difference between the two is that selenium is a mock browser to request data, relatively scrapy speed is much faster

Installation mode pip install Scrapy, pip install Selenium

Installation Scrapy may have an error, please Baidu by yourself.

Five, image processing

The most famous image processing should be PIL and OPENCV, compared to opecv more professional. But generally pil enough.

Installation method

Pip Install Pillow

Pip Install Opencv-python

Common third-party library records in 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.