IO Flow in JAVA System

1. Use of File Class java.io.File class: abstract representation of file and file directory paths, platform independent File can create, delete, and rename files and directories, but File cannot access the file content itself. If you ...

Posted by Sooz719 on Wed, 28 Aug 2019 04:04:01 +0200

web crawler explanation - urllib repository crawler - state - exception handling - browser masquerading technology, user agent settings

If the crawler does not have exception handling, the program will crash and stop working if an error occurs during the crawl, and exception handling will continue even if an error occurs 1. Common status codes 301: Redirect to a new URL, permanent302: Redirect to temporary URL, not permanent304: Requested resource not updated400: Illegal reque ...

Posted by Quinton1337 on Wed, 28 Aug 2019 01:20:06 +0200

MySQL Single Query

Syntax of form queries and priority of keyword execution Form Query Syntax SELECT DISTINCT Field 1,Field 2... FROM Table Name WHERE condition GROUP BY field HAVING screen ORDER BY field LIMIT Limi ...

Posted by atitthaker on Tue, 27 Aug 2019 03:41:16 +0200

Batch Execution Case of Unittest on Day 4 of python+unittest Framework

Starting today with batch execution of use cases, the scenario is as follows: We may have multiple module files (. py) in our work. These files are distributed under different module files according to different business types or functions. In the previous small examples, our test cases are all in one file, running directly in the test suite ~ ...

Posted by n000bie on Sun, 25 Aug 2019 16:46:36 +0200

Windows Insets - Layout Monitor

If you've seen me already Becoming a Master Window Fitter Speaking, you'll know that processing window plug-ins can be complex. Recently, I have been improving the system bar processing in several applications so that they can draw behind the status and navigation bar. I think I've come up with some ways to make it easier to handle inserts (hop ...

Posted by sliilvia on Sun, 25 Aug 2019 13:12:36 +0200

Postman Use Skills 1

Background: Last video introduced several mainstream tools, among which postman is lightweight and easy to use. It is recommended that novices can learn from postman. When using any tool, we should develop some good habits, postman is the same. ...

Posted by AshrakTheWhite on Fri, 23 Aug 2019 12:02:51 +0200

web Front-end Start to Practice: CSS Implements Imitating Windows 10 Mouse to Illuminate the Border Effect

After installing the latest Windows 10 update, I noticed a great detail effect in the system UI. In the magnetic paste of the start menu or the UWP-style settings interface, the highlighted border of the element can sense the mouse, and the highligh ...

Posted by shab620 on Fri, 23 Aug 2019 10:06:30 +0200

Twenty-first day of python learning (bag-grabbing tool)

Knowledge Point Catalogue 1. What is grabbing bag? 2. What are the commonly used package-grabbing software? 3. How to grab app on mobile phone? 4. How to grab the article information of a technical number of Wechat? 5. How to grab relevant requests f ...

Posted by SilentQ-noob- on Thu, 22 Aug 2019 15:26:13 +0200

SpringBoot(15) @ Conditional annotation

# SpringBoot(15) @ Conditional annotation Function @Conditional is a new annotation provided by Spring 4. Its function is to judge according to certain conditions and register beans for containers only when the conditions are met. I. Overview ...

Posted by afrim12 on Wed, 21 Aug 2019 14:46:44 +0200

python crawler: user and IP proxy pool, packet capture analysis, asynchronous request data, Tencent video comment crawler

User Agent Pool User agent pool is a pool of different user agents, which is then called randomly. Function: Each visit represents a different browser import urllib.request import re import random uapools=[ 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit ...

Posted by Kevmaster on Wed, 21 Aug 2019 07:41:07 +0200