Python 3 learning record

day1 new file Tone font configure IDLE run module Look at python built-in functionsVariable variable Support for Chinese variablesString string Single quotation mark double quotation mark escape character\Alt + P returns to the previous statement \Put at the end to indicate that the sentence is not f ...

Posted on Tue, 16 Jun 2020 13:25:30 -0400 by Platinumweaver

Initial javaScript hunting

Chapter 1 Introduction to JavaScript 1.ECMAScript Core Language Functions 2.DOM Document Object Model 3.BOM Browser Object Model Chapter 2 Using JavaScript in HTML 1. <script>element Defer indicates that the script will not affect page construction during execution, that is, it will delay ...

Posted on Mon, 15 Jun 2020 21:51:23 -0400 by jscruggs

Scanning of Web Penetration

Detection Tool-httrack Reduce interaction with goals install apt-get install httrack Usage method httrack # Enter the usage page Enter project name : dvwa # Give the website a name to mirror Base path (return=/root/websites/) :/root/Desktop/image/dvwa # Enter a save address Enter URLs (sepa ...

Posted on Sun, 14 Jun 2020 22:05:11 -0400 by scoppc

java null pointer exception: the root of the problem and the solution

@Java null pointer exception Exception in thread "main" java.lang.NullPointerException In the previous writing experiment, we encountered a java null pointer exception problem. After multiple queries of data, China and Vietnam solved the exception, so we decided to record the solution of this exception. ...

Posted on Sun, 14 Jun 2020 05:25:00 -0400 by Crys

Byte Stream of C ×

I. principle MemoryStream class The MemoryStream class is used to read and write data to memory instead of disk. MemoryStream encapsulates the data stored in the form of an unsigned byte array, which is initialized when the MemoryStream object is created, or the array can be created as an empty arr ...

Posted on Sat, 13 Jun 2020 23:50:29 -0400 by char skd1

The Python crawler understands these two requests, indicating that you understand half of the crawler

get and post requests in Python Crawlers preface Python crawlers can request data in two ways: get and post. Maybe readers have mastered their applications to a high level, but do you know their basic syntax? Article catalog get and post requests in Python Crawlers 1. Understand the urlib module ...

Posted on Sat, 13 Jun 2020 23:03:08 -0400 by farkewie

Scrapy crawler frame video learning

Article catalog Crawler framework 1. Framework 1.1 introduction to scrapy framework 1.2 Scrapy architecture 1.3 function of scrapy framework module 1.4 operation process of scrapy (easy to understand introduction) 2. Introduction to scratch 2.1 create project 2.2 project directory structure 2.3 u ...

Posted on Sat, 13 Jun 2020 06:39:46 -0400 by deeppak

Turn video to text (1-video to audio)

This series will introduce how to realize step-by-step voice conversation in mp4 video, automatically convert it to text, and output it to word document. In the first part of this article, the video to audio processing is completed first. Open source code address of the project thomas project Overall technical structure The following figure sh ...

Posted on Fri, 12 Jun 2020 03:12:12 -0400 by nagasea

How do I make HTTP requests in Swift?

This article is translated from: How to make an HTTP request in Swift? I read The Programming Language Swift by Apple in iBooks, but cannot figure out how to make an http request (something like CURL) in Swift. Do I need to import Obj-C classes or do I just need to import default libraries? Or is it ...

Posted on Fri, 12 Jun 2020 01:59:46 -0400 by aquayle

Java crawler framework WebMagic

The architecture design of WebMagic refers to scratch, while the implementation uses mature Java tools such as HttpClient and Jsoup.WebMagic consists of four components (Downloader, PageProcessor, Scheduler, Pipeline): Downloader: Downloader PageProcessor: page parser Scheduler: task assignment, url de duplication Pipeline: data storage an ...

Posted on Thu, 11 Jun 2020 23:38:02 -0400 by Drabin