Climbing Kwai to comment with python

Tiktok: last time, I wrote a Kwai live broadcast comment with selenium, and this new live up, sent post requests with python to get the quick video reviews. 1. first, open the webpage version Kwai. Press F12 in the web page to open the developer mode, click the web and view Fetch/XHR. Look at the request inside. A request called grap ...

Posted by tobias on Tue, 28 Sep 2021 11:13:51 -0700

matplotlib of data analysis

matplotlib of data analysis Introduction to matplotlib matplotlib official website Data analysis: make statistics and sort out a large number of data to draw conclusions and provide data support for subsequent decision-making Learn matplotlib? It can visualize the data and present it more intuitivelyMake the data more objective and per ...

Posted by grudz on Tue, 28 Sep 2021 03:17:13 -0700

Java communicates with Python via gRPC

Java end gRPC transmits data through protobuf by default. Protobuf provides a flexible, efficient and automated mechanism for serializing structured data. Protobuf only needs to customize the required data format once, and then we can use the protobuf compiler to automatically generate the source code of various languages, which is convenient ...

Posted by adrianpeyton on Mon, 27 Sep 2021 23:12:44 -0700

C language pointer

Pay attention to one button three times (don't be sure next time) Hello, bald men, let's learn the pointer together today! Key points of this chapter What is the pointerPointer and pointer typeField pointerPointer operationPointers and arraysSecondary pointerPointer array What is the pointer? In computer science, a Pointer is a ...

Posted by jdubwelch on Mon, 27 Sep 2021 17:30:05 -0700

Exceptions and logs

concept   Error information can be fed back to users. Exceptions are also objects that can be manipulated. All exceptions are members of the base class Exception. Exceptions are defined in the exceptions module. Python automatically puts all Exception names in the built-in namespace, so the program can use exceptions without importing t ...

Posted by prslou on Mon, 27 Sep 2021 15:42:24 -0700

On September 27, 2021, get the names of all books recommended by the new book on the website of the people's post and Telecommunications Publishing House

Title: use the crawler to get all the book names recommended by the new book under this website This is the homework assigned by my teacher after I went online for the reptile course last Thursday. When I did it, I didn't know how to use the cycle. After consulting the students next to me, I probably understood the method used for this problem ...

Posted by woolyg on Mon, 27 Sep 2021 06:40:44 -0700

this pointer supplement, const supplement, static supplement, static const int

catalogue Object calling function and this pointer (supplemented by this pointer) const supplement const decorated data member (initializing member list) Modify member functions (data members will not be modified in member functions) Decorated object static supplement Modified out of class Modify global variables Modify local variables ...

Posted by tomwerner on Mon, 27 Sep 2021 04:07:18 -0700

Python database programming, this article is for mysql, snowball learning Python season 4, Article 13

In the first season of snowball learning python, we have contacted the operation sqlite of Python. This blog introduces the story between python, mysql and nosql. Before formal study, make sure that mysql is installed on your computer. mysql installation blog: Supplementary knowledge: the latest windows installation tutorial of mysql in 2021, ...

Posted by makeITfunctional on Sun, 26 Sep 2021 22:11:08 -0700

Machine learning (11) -- logistic regression

Classification algorithm - logistic regression [also an iterative method, self updating w] Linear input to classification problem: Input: the formula of linear regression is used as the input of logical regression sigmoid function: Logistic regression formula: [that is, how sigmoid converts input into probability value] e: 2.71 Z = ...

Posted by jasonmills58 on Sun, 26 Sep 2021 16:33:35 -0700

day9 - string job

Enter a string and print all characters in odd bits (subscripts are characters in bits 1, 3, 5, 7...) For example: input * *'abcd1234 '* * output * *'bd24'** # str1 = input('Please enter a string: ') str1 = 'abcd1234' for index in range(1 ,len(str1)+1,2): print(str1[index],end='') print() Enter the user name and judge whether the user na ...

Posted by andynick on Sun, 26 Sep 2021 12:57:10 -0700