Python 3.7 learning notes 27 context manager
Input and output of files, connection and disconnection of database are common resource management operations. Because of limited resources. In such a scenario. If these resources are used but not released. It will cause resource leakage. Light makes the ...
Posted by mcmuney on Mon, 15 Jun 2020 19:33:05 -0700
Data analysis with python (Second Edition)
Example 1. Data analysis of time zone
1.1 pure python time zone count
1.2 time zone counting with pandas
Example 2. Analysis of film rating data
2.1 difference of measurement and evaluation
Example 3. Data analysis of infant names in the Un ...
Posted by revraz on Mon, 15 Jun 2020 01:30:32 -0700
Welcome to the original self built blog:http://www.e-lionel.com/index.php/2020/04/10/187/
In recent Q & A projects, there is a need to deploy multiple sets of Python services, and other programs rotate to call interfaces. Because there are multithreaded calls in the calling process, the following lo ...
Posted by DJTim666 on Mon, 15 Jun 2020 01:04:07 -0700
In recent years, with the rapid development of information technology, intelligent devices are gradually integrated into people's daily life. As one of the most convenient ways of human-computer interaction, voice has been widely used. It is the goal of countless researchers to make machines understand ...
Posted by neodaemon on Sun, 14 Jun 2020 18:29:58 -0700
Requests and responses
The REST framework introduces a Request object, which extends the ordinary HttpRequest and provides more flexible and clear parsing. The core function of the Request object is request.data Property, which corresponds to the request.POST Similar, but more useful ...
Posted by NFD on Sun, 14 Jun 2020 01:32:55 -0700
First of all, understand what is return. The purpose of regression is to predict the target value of another numerical data through several known data.
Suppose that the characteristic and the result satisfy the linear relation, that is to say, the independent variable of the formula is the known data x ...
Posted by smitho on Sun, 14 Jun 2020 00:58:52 -0700
There is a recorded video at the end of the article. If you are not comfortable with the article, you can slide to the end of the article and watch the video. I hope you like it~
In the work, we often meet the need of merging multiple tables into one table; in the interview, we are sometimes asked by th ...
Posted by minus4 on Sat, 13 Jun 2020 23:34:35 -0700
1. Check the continuous repetition of words in a word document. In the word document, there are often repeated words in the document due to careless keyboard operation, such as "user's information" or "user input required". Use the extension library Python docx to check the word docu ...
Posted by kazuki on Sat, 13 Jun 2020 22:26:46 -0700
We know that there are some websites or software that use photos to test the beauty. In fact, this function can be realized by using python. In this article, we use Python to write a beauty test widget.
There are two ways to realize the beauty test function: one is to write the test function by yourself, and the other is to r ...
Posted by rigy73 on Sat, 13 Jun 2020 20:27:35 -0700
7. Using regular expressions in Python
7.1 regular expression
When dealing with strings, we often use the need to find strings that meet some complex rules. Regular expressions are tools for describing these rules. Regular expressions are the code used to record text rules.
7.1.1 line locator
Posted by philipolson on Sat, 13 Jun 2020 04:41:18 -0700