How to implement the complete INI file reading and writing class
Author: Magic fudge
Date: February 27, 2020
Introduction
*************************************
The. ini file is an abbreviation of the Initialization File, which is the configuration file. yes windows System configuration file The storage format used.
It is easy to use, and has similar functions with the key value of the registry. Various appli ...
Posted by chalexan on Thu, 27 Feb 2020 21:32:58 -0800
On the compilation and decompilation of Python
On the compilation and decompilation of pyyinstaller
It is very convenient to write scripts in Python, but it needs a specific Python environment to run. Therefore, if you want to run it on other computers, there will be many problems. Even if Python has been installed, the version may vary greatly, a ...
Posted by ak_mypayday on Wed, 26 Feb 2020 01:26:29 -0800
Building a c + + environment for vscode development based on MinGW-w64 on win7 platform
1, Install plug-ins for vscode and cc + +
2, Install and configure MinGW-w64
1. Download and install
Download MinGW-w64 After downloading, install. During installation, you can customize or default the installation directory. Options to be set during installation:
Version: GCC version, select the ...
Posted by overlordhu on Tue, 25 Feb 2020 21:12:39 -0800
An article on the beauty of DirectX 12
DirectX 12 is Microsoft's latest graphics API library, which is only supported on Win10 system (if it is not Win10, it must be upgraded to Win10). My biggest feeling about this API is that it is particularly complex, because it exposes many underlying methods. Even though I have learned DX9, I still ...
Posted by javiqq on Sun, 23 Feb 2020 03:47:31 -0800
persepolis in open source code learning [2]
1, Download Interface
1. Main interface download display
MainWindow first initializes aria and starts aria2. The startup method is in download.py.
# start aria2
start_aria = StartAria2Thread()
self.threadPool.append(start_aria)
self.threadPool[0].start()
sel ...
Posted by 0riole on Sun, 23 Feb 2020 00:38:50 -0800
Crawling more than 200000 pictures of mn52 beauties website with the framework of scratch, and packing them into exe executable file
Target website: https://www.mn52.com/
The code of this article has been uploaded to git and Baidu. The link is shared at the end of the article
Website overview
Target, grab all the pictures using the graph framework and save them locally.
1. Create a sketch project
scrapy startproject images
2. Create a spider
cd images
scrapy genspide ...
Posted by Hagaroo on Sat, 22 Feb 2020 20:51:09 -0800
Computer vision -- the basis of image processing
Catalog
1. PIL-Python image library
1.1 image gray processing
code implementation
Operation result
1.2 adjustment of dimensions and rotation
code implementation
Operation result
2. Matplotlib Library
2.1 drawing, tracing points and lines
code implementation
Operation result
2.2 image outline ...
Posted by gordonrp on Sat, 22 Feb 2020 20:04:12 -0800
Pool technology -- custom thread pool
Catalog
Pool technology -- custom thread pool
1. Why use thread pools?
1.1 characteristics of pool technology:
1.2 benefits of thread pool:
1.3 how to customize a thread pool
2. Three methods
2.1. Thread pool method of single thread
2.2. Fixed thread pool size method
2.3 me ...
Posted by Justin98TransAm on Sat, 22 Feb 2020 19:42:40 -0800
Deploy Ethereum smart contract (Hello World)
Ethereum is a public blockchain platform that provides a smart contract function. To develop an application on Ethereum, you need to install Geth based on Go language on its client. The official website is: https://github.com/ethereum/go-ethereum.
1. Enter the command line window
2. Enter in the command line window
geth --datadir "E:\geth ...
Posted by stockton on Sat, 22 Feb 2020 06:03:32 -0800
Data structure string (explain KMP algorithm in detail)
1. Definition of string:
A finite sequence of zero or more characters, also known as a string
Empty string without characters
A string with only spaces is called a space string
2. Abstract data type of string:
ADT String ( string)
Data
//The element of a string consists of only one character, and the ...
Posted by seavolvox on Sat, 22 Feb 2020 04:56:51 -0800