python realizes the wechat automatic reminder function of seckill goods (with code)
Technology realization principle: get the specific commodity information of JD, and then use wechat to send reminders
Tool: two microsignals are needed, which are mutual friends
If you want to learn Python or are learning python, there are many Python tutorials, but are they up to date? Maybe you have learned something that someone else probabl ...
Added by Pastulio on Mon, 27 Apr 2020 10:54:48 +0300
Hand-on instructions for using Python to grab QQ music data (4th bounce)
[1. Project objectives]
By using Python to grab QQ music data (the first shot), we achieve the song name, album name, playback link of a song with a specified number of pages in the QQ music singer's single line.
By using Python to grab QQ music data (second round) by hand, we have achieved lyrics and top reviews for specified QQ music songs.
B ...
Added by Stoned Gecko on Sun, 26 Apr 2020 20:29:49 +0300
Global exception capture in winform or wpf
In winform or wpf projects, we will inevitably encounter code blocks that forget to catch exceptions. c ා provides us with a mechanism to catch exceptions globally
Write this in Program.cs in winform
static class Program
{ [STAThread]
static void Main()
{ Application.SetUnhandledExceptionMode(Unha ...
Added by ftrudeau on Wed, 22 Apr 2020 18:11:03 +0300
Python 0 basic development game, ground mouse (detailed tutorial)
1, Preparations
1 download and install python2 download and install VS code EditorWhen installing, please check add to path
3 install pygame moduleNote: many people will encounter various problems in the process of learning python, and no one will help answer the questions. For this reason, I have built a python full stack fr ...
Added by beboo002 on Tue, 21 Apr 2020 06:42:53 +0300
Use of log4j
1. Simple use
Only one jar package of log4j needs to be imported, and the log4j.properties configuration file under the src directory will be loaded by default
1. Print log to console
log4j.properties configuration file content
#Set the log level to info and output to the console
log4j.rootLogger=info,console
log4j.appender.console = org ...
Added by jay_bo on Mon, 20 Apr 2020 18:53:38 +0300
[original] quick start to golang [9.3] - profound slicing skills
Preface
What will the following program output?
package mainimport "fmt"func f(s []string, level int) { if level > 5 { return } s = append(s, fmt.Sprint(level)) f(s, level+1) fmt.Println("level:", level, "slice:", s)}func main() { f(nil, 0)}
Its output is:
level: 5 slice: [0 1 2 3 4 ...
Added by tripc1 on Mon, 20 Apr 2020 14:13:45 +0300
The Transactions and Persistence of the redis Actual War
1. Transaction description
(1) What is a transaction
A transaction is a bundle of things that are bound together and executed sequentially until they are successful, otherwise they are restored to their previous state
Transactions must be subject to ACID principles, which are atomicity, consistency, isolation, and durability, respectively.
...
Added by christh on Sat, 18 Apr 2020 01:04:59 +0300
python crawls to top 250
Catalog
1. Analyze web pages
2. Request server
2.1 import package
2.2 setting up browser proxy
2.3 request server format
2.4 request server code summary
3.xpath extraction information
3.1 method of getting xpath node
3.2xpath extract content
3.2.1 extract text
3.2.2 extract links
3.2.3 extract label elements
4. Regular expression
4.1 e ...
Added by Tucker1337 on Wed, 15 Apr 2020 17:31:06 +0300
[network programming 01] basic knowledge of socket - simple network communication program
1. What is socket
Socket is simply a combination of IP address and port, which can communicate with the application of remote host. A host can be determined by IP address, and an application can be determined by port. IP + port can completely determine an application of a host. Socket originated from UNIX, similar to a special file, can be open ...
Added by munuindra on Wed, 15 Apr 2020 11:46:48 +0300
Integrate facebook login to get friends in the app
1.facebook login function
1. Create application information in Facebook developer website
The website is here
1. Do it step by step
2. In "generate development key hash", there are two options: Mac operating system and Windows operating system. For general Windows operating system, you need to install &q ...
Added by n00854180t on Tue, 14 Apr 2020 22:21:30 +0300