python, basic (beginners one)
Run the first py file:
Python3x: Python file path return
Python2x: Python file path return
Difference: The default encoding method for python2 is ascii.
# -*- encoding:utf-8 -*-
python3 default utf-8
Variables:
Is to temporarily store the intermediate results of some operations in memory for subsequent code calls.
1, m ...
Posted by gonsman on Mon, 29 Jul 2019 14:41:59 -0700
BZOJ1176 Mokia CDQ Division
Title Description
Maintain a W*W matrix with initial values of S. Each operation can increase the weight of a grid, or query the total weight of a submatrix. Modify operand M<=160000, query Q<=10000, W<=2000000.
Input Format
The first row contains two integers, S and W, where S is the initial value of the mat ...
Posted by Dawg on Fri, 26 Jul 2019 16:43:10 -0700
Introduction to Python Crawler [18]: 36 Kr (36 kr) data grabbing scrapy
1. 36 Kr data - written in front
Today, grabbing a news media, 36kr article content, is also to prepare for the subsequent data analysis.
36kr allows some people to see the future first, and what you are going to do today is really to grasp its past.
Website https://36kr.com/
2. 36 Kr data - Data A ...
Posted by TheHaloEffect on Fri, 26 Jul 2019 02:14:24 -0700
The Principle of getView in ListView and the Method of Solving Multiple-round Repeated Calls
Links to the original text: http://www.cnblogs.com/lirizhi/p/3357771.html
The following article content is from the network copy and paste, because it was previously sorted into the notebook part can not find the source. If there is any ...
Posted by okuto1973 on Thu, 25 Jul 2019 23:15:03 -0700
The Use of Layout Inflate in android
Links to the original text: http://www.cnblogs.com/hnrainll/archive/2012/06/12/2545799.html
Inflater means inflation in English, which should mean expansion in Android. LayoutInflater works like findViewById(), except that LayoutI ...
Posted by Bailz on Wed, 24 Jul 2019 00:12:37 -0700
Python analyzed 70,000 App s, which was unexpected.
ABSTRACT: Scrapy was used to crawl 70,000+App of pea pod net, and exploratory analysis was carried out.
Write on the front: If you are not interested in the data capture part, you can directly drop down to the data analysis part.
1 Analytical Background
Before, we used Scrapy to crawl and analyze Kuan 6000+ App. Why is this article about app?
...
Posted by radhoo on Tue, 23 Jul 2019 11:10:41 -0700
How does cameraserver of Android Camera Principle relate to cameraprovider
The camera architecture we are familiar with is the following picture:
The bottom layer is camera driver, which is strongly related to hardware; the top layer of camera driver is the operation-driven camera HAL layer, which is also the core code of each manufacturer's camera. The manufacturer encapsulates its own code well without observing th ...
Posted by Paul_Bunyan on Tue, 23 Jul 2019 10:07:51 -0700
Introduction to Python Crawler [18]: 36 Kr (36 kr) data grabbing scrapy
1. 36 Kr data - written in front
Today, grabbing a news media, 36kr article content, is also to prepare for the subsequent data analysis.
36kr allows some people to see the future first, and what you are going to do today is really to grasp its past.
Website https://36kr.com/
2. 36 Kr data - Data A ...
Posted by clicket on Tue, 23 Jul 2019 07:20:27 -0700
How to Develop a High Performance gradle transform
Preface
For java developers, it seems that they prefer to do things during compilation. For example, in order to achieve AOP programming, they like to use bytecode generation technology, commonly used traceless burial points, time-consuming statistics and so on. So how does Android do that? The so-called bytecode stuffing technology, in fact, ...
Posted by AdamBrill on Mon, 22 Jul 2019 20:11:47 -0700
Gateway gateway learning summary
An overview of microservices:
Micro-service gateway is a system! By exposing the gateway system of the micro-service, it is convenient for us to carry out relevant authentication, security control, log unified processing, and easy to monitor related functions!
What are the technologies to implement the ...
Posted by tejama on Mon, 22 Jul 2019 03:02:49 -0700