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
java implementation of mobile phone verification code function
First, enter the preparation work and log in to alicloud https://www.aliyun.com/
Select domestic messages on the left side of the search SMS console
Adding a signature on the right side will have an audit process, as long as it meets ...
Posted by johnbest on Sat, 13 Jun 2020 02:31:10 -0700
When accessing the resources of the server, the filter can intercept the request and complete some special functions.
Generally used to complete general operations. (such as login authentication, unified encoding, sensitive character filtering...)
Define a class to imp ...
Posted by RClapham on Fri, 12 Jun 2020 22:09:52 -0700
DAO layer design
Service layer design
Controller layer design
DAO layer design
1. Write two entity classes, OrderMaster and OrderDetail. Because it involves the update of the order modification time, add the annotation @ DynamicUpdate, that is, modify the time data during the upd ...
Posted by joshmaker on Fri, 12 Jun 2020 21:32:50 -0700
I know there is a problem: after the epidemic, what is the most thing you want to do?
Many people study python and don't know where to start.Many people learn python, master the basic syntax, do not know where to find cases to start.
Many people who have already done cases do not know how to learn m ...
Posted by titel on Fri, 12 Jun 2020 02:21:10 -0700
Before there was a project, the leader said that I used mongoose to swagger to write down the back-end interface. Although I had not written the back-end interface before, I wanted to have colleagues and accepted the work happily. First to ask colleagues, and then... Have not used; so Baidu to see if there is a relevant tutorial 😭 , well, it's ...
Posted by Gorillas on Thu, 11 Jun 2020 22:56:59 -0700
vue video player is the vue version of videojs
video.js Official website: https://videojs.com/
Refer to the official website: Video.js Is a web video player built from scratch for the HTML5 world. It supports HTML5 video and modern streaming formats, and it supports video playback on desktop ...
Posted by chiprivers on Thu, 11 Jun 2020 21:27:52 -0700
< meta > tags in front-end interfaces of major websites on June 11, 2020
The meet object represents an element of HTML and provides meta information of HTML elements, such as description, keyword, refresh rate. Object properties:
Content sets or returns the content attribute of an element
Posted by nova912 on Wed, 10 Jun 2020 23:28:36 -0700
1, requests+lxml non login crawling Douban data
1. First, open Douban and find the url of the short movie review you want to crawl, for example:2. Open the developer tools in the web page, and most computers can press F12 directly, but there are also differences. For example, ThinkPad uses Fn+F12 to open, find the network in the page - > cli ...
Posted by jpopuk on Tue, 09 Jun 2020 22:25:09 -0700
This series of articles mainly introduces the open source Tangram Experience and principle of using framework, because Tangram bottom layer is based on vlayout The series will be introduced according to the following outline:
Tangram and vlayout introduction
Use of Tangram
Tangram secondary ...
Posted by X74SY on Sun, 07 Jun 2020 02:41:16 -0700