python leak filled --- module and abnormal


1, after the well defined method, such as, def test (x):, method name assigned to this case a new variable, then the variable is equivalent to the method, all the functions may be provided inside the test method
when 2, the leader packet, You may be used as a keyword to import modules or objects under different names, which is mainly used with redundant or confusing name modules or objects
3, python there are three main modules in
a. custom class and method
b. an external source installation of (third party)
c.python pre-installed (also known as the standard library, a wide range of standard python library as one of the main advantages is its language, these are some of the standard library written in python, and some are written in C language , most of them can be used on all platforms)
4, many third-party modules stored on the python python package index (PyPi). Good installation method is to use pip install the management tools, by default, it is a modern python release installed.
5, Python common library
reptiles: Scrapy (famous, distributed crawler frame, not just a simple library), beautifulsoup4, urllib, urllib2, selenium and the like.
Machine Learning: scikit-learn (gray often regressed a library, almost all machine learning algorithms should include a), NLTK (Natural Language Processing Toolkit), etc. (with a reason like that, in addition to speaking scikit-learn, I really do not know what, hhh).
Website: Django (web framework heavyweight), Flask (lightweight web framework) and so on.
Data processing scientific computing: Numpy (matrix array artifact), Scipy (scientific computing artifacts), Pandas (Panda packet, R transfected Python language favorite player) and the like.
Visualization: matplotlib (matlab style style package), seaborn (scatterplot matrices artifact), ggplot (visual artifacts Python version R language), plotly (this artifact is a js library, but there are a variety of popular language interface) and so on.
Geo-related: basemap (draw a map of the library), cartopy (draw a map of the library), Folium (Python version of the leaflet's), GDAL (open source GIS library), geocoder (geocoding artifact), geopandas (panda bag geographic data), geopy (not played), PySAL (a packet of God econometrics space), etc. (too many school-related package with ground behind time, then, to consider will highlight several packages).
6, Conda and pip are not competitors, but rather focuses on different groups of users and tool usage patterns. Conda is a generic package manager, package originally designed to manage any language. So of course, used to manage the python package is more than enough, Conda and pip target is not the same, there is only a small part of a subset of the intersection of a competitive relationship: for example, python package installation and the environment. pip python package allows you to install in any environment, and allows you to install any conda language pack conda environment (including python language or c).

 

 

 

Part of the text excerpt: https: //blog.csdn.net/ESA_DSQ/article/details/78663130 

Guess you like

Origin www.cnblogs.com/beiyi888/p/11263320.html