os module of python built-in module

The function of the os module: the os module provides a very rich way to handle files and directories (manage and maintain directories and files). The function of the os.path module: it is mainly used to obtain the attributes of the file (the (physical address) of the management path). Xiao Sheng summarized some common attributes and functions. ...

Added by vanzkee on Mon, 24 Feb 2020 13:53:04 +0200

< markdown > Introduction to markdown

(1) What is Markdown Markdown is a lightweight markup language, which allows people to write documents in a plain text format that is easy to read and write. With the help of markdown, people can quickly typeset and transform them into rich HTML pages. At present, it is used by more and more writers a ...

Added by worldofcarp on Mon, 24 Feb 2020 06:22:01 +0200

Spring Boot2.x Integrated kafka (windows integrated environment + example explanation)

Learn kafka, this article takes you to the beginning. Article directory 1. Build windows integrated environment 1.1 java8 installation 1.2 zookeeper installation 1.2.1 download zookeeper 1.2.2 install and modify the zoo.cfg configuration file 1.2.3 setting the zookeeper environment variable 1.2.4 ve ...

Added by jbrave on Sun, 23 Feb 2020 11:54:17 +0200

ID Number Verification System Based on Visual Structure

ID Number Verification System Based on Visual Structure Abstract: This work is a universal ID number verification system. It has been tried to run on Linux and Windows systems, and the results are satisfactory.The system creates a highly compatible visual interface by using the base GUI library tkinte ...

Added by vbzoom.com on Sun, 23 Feb 2020 04:58:02 +0200

Genetic algorithm for TSP (C + + implementation)

[question definition] 1. Traveling salesman problem Given a group of n cities and the direct distance between them, find a closed journey, so that each city just passes through once and the total travel distance is the shortest. TSP problem, also known as the problem of cargo carrier, is an old prob ...

Added by PhpxZ on Sun, 16 Feb 2020 06:53:15 +0200

Regular expression crawling Chinese ancient poetry net and Douban popular books

1, Crawling through the Chinese poetry net import re import requests def handler_url(url):     header={         "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36"     }     reponse=requests.get(url,header)     text=reponse.text     titles=re.findall(r'<div\sclass ...

Added by sanju on Sat, 15 Feb 2020 17:42:46 +0200

golang | windows platform golang environment building (after passing the pit)

background My environment Windows 10 (detailed version doesn't matter) go latest version vscode editor (not IDE, IDE needs money for goland) Guangzhou China Mobile Network golang installation download The official website https://golang.org can't be opened in China. All the reasons are clear. Do ...

Added by Crysma on Fri, 14 Feb 2020 13:40:11 +0200

The selenium geckodriver executable using Python must be in PATH

I'm a new programmer. I started to use Python about two months ago. Now I'm studying Sweigart's "automatically writing boring things in Python text". I am using IDLE and have installed selenium module and Firefox browser. Whenever I try to run the webdriver function, I get the following information: from selenium import webdriver b ...

Added by Dongowarrior on Fri, 14 Feb 2020 09:48:31 +0200

Gets the list of parameters passed in a Windows batch script (. bat)

I want to find the Windows batch copy, which corresponds to Bash's $@, which contains a list of all the parameters passed to the script. Or do I have to shift? #1 building The method to retrieve all parameters in the script is as follows: @ECHO off ECHO The %~nx0 script args are... for %%I IN (%*) DO ECHO %%I pause #2 building ...

Added by R_P on Wed, 12 Feb 2020 16:06:34 +0200

ROS learning record external control of raspberry pie Pixhawk (one stop to the end)

Preface Last time When it comes to learning ROS, it's mainly because we are doing many UAV cooperative control projects. It's said that ROS can be used to control Pixhawk UAV with raspberry pie. In this way, the source code of flight control can not be modified, and raspberry pie can be used for image ...

Added by trp on Tue, 11 Feb 2020 09:32:07 +0200