Network security is based on the sketch framework and selenium and openpyxl libraries to crawl the epidemic statistics and summary information of foreign countries
Network security is based on the sketch framework and selenium and openpyxl libraries to crawl the epidemic statistics and summary information of foreign countries
data sources https://voice.baidu.com/act/newpneumonia/newpneumonia/
thinking Because the data in the target page is dynamically loaded, the response obtained by directly initiatin ...
Added by visionmaster on Sun, 16 Jan 2022 10:08:54 +0200
Tornado framework tutorial
Tornado is widely used in Zhihu. When you open the web version of Zhihu with Chrome and use the developer tool to carefully observe the requests in the Network, you will find that there is a special request with a status code of 101. It uses the browser's websocket technology to establish a long connection with the back-end server to ...
Added by xwin on Sun, 16 Jan 2022 09:34:39 +0200
Markov model for word processing
Markov models are often used to analyze a large number of random events After a discrete event occurs, another discrete event will occur with a certain probability under the condition of the previous event. For example, we can establish a Markov model for a weather system: In this weather system model, if it is sunny today, there is 70% possib ...
Added by Chelsove on Sun, 16 Jan 2022 09:23:33 +0200
Day005 - loop exercises and list Basics
List basis
Premise concept
Container - a container type data can store multiple other data at the same time;Element - each independent data in the container;
List - List
Container data type (sequence) in list, [] is used as the flag of the container, and multiple elements in it are separated by commas;Representation: [element 1, element 2,. ...
Added by phat_hip_prog on Sun, 16 Jan 2022 09:03:02 +0200
First day of pytest study
Common operations of pytest
This article is used to record the process of learning pytest. I hope you can point out any mistakes in combination with learning in station B. If there is any infringement, please send a private letter!
General naming rules
1. Module name (py file) in test_ Begin or begin with_ End of test; For example: test_ ...
Added by olanjouw on Sun, 16 Jan 2022 07:45:47 +0200
60000 word summary of Python basic knowledge points, liver explosion, staying up late in a week [recommended collection]
Hello, I'm spicy.
Today, I'll bring you a summary of the basic knowledge of Python. It's no exaggeration to say that I didn't finish it in a week. This is the first play. If you like to remember three in a row, I'll quickly update the next play and strive to finish this series. I hope you can support me.
catalogue
notes
variable
output
in ...
Added by sanchan on Sun, 16 Jan 2022 07:33:53 +0200
"Speed cut fruit game" has a Python version. Can the once popular mobile game be richer than the "second generation"?
preface
hello everyone! I'm classmate pear!
I hope you can support me! ha-ha
To thank everyone who cares about me: ๐ The project source code of each article is shared free of charge ๐๐๐๐
Click here for the blue font. What source code do you need? Remember to say the title and name! I can also write private letters!
Xiaobian has ...
Added by bobocheez on Sun, 16 Jan 2022 06:13:43 +0200
How to build an interface automation test framework?
Previous articles Overview and process sorting of interface automation test In, we introduce the process of interface automation test.
In our work, when a project determines to conduct interface automation test, we generally face two situations:
1. The company has been doing automated testing and has become one of them
In this case, what we ...
Added by Hepp on Sun, 16 Jan 2022 02:00:14 +0200
Python crawler: want to listen to list songs? It only takes 14 lines of code to use the beautiful soup library
Beautiful soup Library
Although XPath is more convenient than regular expressions, it is not the most convenient, only more convenient. Our beautiful soup library can make it easier to crawl what you want.
Installing the BeautifulSoup Library
Before use, it is the old rule to install the BeautifulSoup library. The instructions are as fol ...
Added by psd99 on Sun, 16 Jan 2022 01:39:53 +0200
Python Timer Library: APScheduler
Reference resources:
https://zhuanlan.zhihu.com/p/95563033https://www.cnblogs.com/qq834761298/p/12164717.htmlhttps://www.cnblogs.com/KdeS/p/13158152.html#autoid-0-6-0
1 Basic concepts
1.1 Basic Components
1.1.1 Trigger triggers
Conditions used to set trigger tasks
Trigger binds to Job, calculates the trigger time of Job based ...
Added by the_reverend on Sun, 16 Jan 2022 01:31:12 +0200