Batch operation of word documents
Reading guide
In the previous chapters, we introduced how to operate excel and ppt in batches. Today, we talk about the batch operation of word documents
application
Python docx allows you to create new documents and make changes to existing documents. In fact, it only allows you to make changes to existing documents; But if you start ...
Posted by hansford on Sat, 12 Feb 2022 09:15:54 +0100
caffeine, the king of cache performance, uses documents
1.caffeine features
Caffeine uses ConcurrentHashMap internally, provides a variety of cache elimination mechanisms (according to time, weight, quantity, etc.), and supports elimination notification. Moreover, caffeine has high cache performance on the premise of ensuring thread safety, which is known as the king of cache
1.1 official performa ...
Posted by edzulis on Sat, 12 Feb 2022 09:05:51 +0100
Algorithm III. sorting and searching
Some codes involve the knowledge mentioned before
Quick sort
Two way fast platoon
Improve according to the one-way fast sorting in the previous section. In order to prevent each cycle, the same number is on one side, such as:
3 4 1 2 3 2 1 3 1 3 5 4
Single way fast platoon: 1 1 2 1 3 3 3 4 5 4
In this way, the case equal to thre ...
Posted by britey on Sat, 12 Feb 2022 09:03:26 +0100
Three solutions to change in Python
Change
The most direct solution to the change problem is the greedy strategy. For example: for coins with face values of 1, 5, 10 and 25, solve the minimum number of coins required to exchange 63 yuan.
The idea of greedy strategy is to constantly use the coins with the largest face value to try. No, in this case, 25 coins are used to try the ...
Posted by dbrimlow on Sat, 12 Feb 2022 08:55:23 +0100
API Foundation Day 3
Object class
Object is the top-level superclass of all classes. There are two methods that are often overridden by subclasses:
toString() and equals()
package object;
/**
* Object Is the top superclass of all classes There are several methods that are often overridden by subclasses, including toString and equals
*/
public class Demo {
...
Posted by zenag on Sat, 12 Feb 2022 08:41:24 +0100
Spring learning notes [XV] annotation programming
Annotation programming
01 what is annotation programming
:::info It refers to adding specific annotations to classes or methods to complete the development of specific functionsThe use of annotations is convenient for development, the code is concise, and the development speed is greatly provided :::
02 role of annotations
:::success ...
Posted by stan801003 on Sat, 12 Feb 2022 08:38:17 +0100
Chapter VII collection
generic paradigm
Why use generics:
Early Object types can accept any Object type, but in practical use, there will be the problem of type conversion. This hidden danger exists, so Java provides generics to solve this security problem
What is generics:
● generic, i.e. "parameterized type". When referring to parameters, the most fam ...
Posted by rubadub on Sat, 12 Feb 2022 08:13:16 +0100
Machine Learning - Coursera Wu Enda machine learning tutorial Week7 learning notes (Support Vector Machines)
support vector machine
In the case of linear separability, the data point closest to the separation hyperplane in the sample points of the training data set is called support vector.
The cost function and logistic regression are similar: Also known as large interval classifier, it can find the best linear classification position: The phys ...
Posted by IronCannibal on Sat, 12 Feb 2022 07:58:05 +0100
ZooKeeper installation and deployment
ZooKeeper stand-alone installation
The installation directory takes / opt/share/zk as an example
Create a new directory / opt/share/zk. The command is as follows: mkdir -p /opt/share/zk
Enter / opt/share/zk directory and upload jdk-8u301-linux-x64 tar. GZ file Unzip jdk-8u301-linux-x64.0 tar. GZ file, the command is as follows: tar -zxvf ...
Posted by fleymingmasc on Sat, 12 Feb 2022 07:50:46 +0100
Full stack development of Quartz distributed timed task scheduling cluster
background
We have a regular task in a single project, which will query and calculate the scores and rankings of different users from each business table every other hour. It is realized by Quartz; This encountered a problem in the later horizontal expansion to multi instance cluster deployment: the scheduled task is repeatedly executed in mul ...
Posted by nite4000 on Sat, 12 Feb 2022 07:36:57 +0100