Pthon Crawler-requests Library Learning Summary

Requests are written in the python language based on urllib, but Python provides a more convenient network request method, the requests library, than the cumbersome urllib.request library. I. Basic Methods 1.GET Request The bottom-level functions written by the get API are as follows, which must be passed as a URL, optional pa ...

Posted by j0n on Tue, 14 May 2019 17:48:31 +0200

Open exe in the web page

                     Can you open the local exe file on the web page? Simon said: Yes. The methods are as follows:   1. Define a private protocol that points to the local exe 2. Use this private protocol as a URL on the web page and click on it to open the exe. 3. The URL can also contain parameters that are passed to the exe 1 ...

Posted by RussW on Tue, 14 May 2019 12:08:09 +0200

Photoshop algorithm with OpenCV (1): image rotation

https://blog.csdn.net/c80486/article/details/51867128 For a photo, the general processing steps of PS include: 1. Rotate the picture and correct the position. 2. Cut, resize and reconstruct. 3. Adjust the color order and curve to make the pictures exposed correctly and contrast moderately. 4. Adjust contrast and saturation 5. S ...

Posted by pr0x on Sun, 12 May 2019 13:37:37 +0200

Node.js-Ali Egg's Multiprocess Model and Interprocess Communication

Preface Recently, Egg has been used as a low-level framework development project, curious about the management implementation of its multi-process model, so I learned something and recorded it incidentally. If there are any mistakes in the article, please spray it lightly. Why multi-process is needed With the development of science and technolo ...

Posted by greenday on Sun, 12 May 2019 12:42:14 +0200

Implementation and debugging of communication between Java program and serial port

Below is a brief introduction of Xiaobian's latest project, involving the realization and debugging of serial communication. Principle of Serial Communication Serial communication refers to sending and receiving bytes by bit. Although it is slower than byte parallel communication, the serial port can receive data with another line while sen ...

Posted by meritre on Sun, 12 May 2019 00:33:59 +0200

Analysis of Structured Exception Handling in Windows

Recently, I have been puzzled by a problem, that is, the program always crashes without reason. Some places know that there may be problems, but some places have no way to know what the problems are. Even more painful thing is that our program needs 7x24 service customers, although it does not need real-time precision zero error, but can not al ...

Posted by FrancoPaddy on Sat, 11 May 2019 22:56:48 +0200

Key Points of Android APP Full Screen Adaptation Technology

The Concept of Full Screen Why explain the full screen first, because the word is now a false proposition. Full screen literally means that the front of the mobile phone is all screen, 100% of the screen. But nowadays, none of the manufacturers that launch so-called "full screen" mobile phones can achieve full scale. So ...

Posted by Jebs on Sat, 11 May 2019 11:39:04 +0200

Building wnmp under Windows

The running environment is windows server 2008 64-bit system. Installation directory D:/wnmp Mysql 5.7 Download Address: https://dev.mysql.com/downloads/mysql/5.7.html#downloads (This article chooses 5.7.25 | Microsoft Windows | All | Windows (x86, 64-bit), ZIP Archive) php7.2 Download Address: https://windows.php.net/downloads/releases/php-7. ...

Posted by cyberlew15 on Sat, 11 May 2019 09:05:31 +0200

Lesson 12: Running in the Background (based on Android Studio 3.2)

Now that we have some knowledge of UI elements and screens, we need to make them responsive. Response is not just about speed - how much work you can accomplish over time. What's more important is how fast the application is. When people say that the application responds, they usually mean that the application will not prevent ...

Posted by Lukeidiot on Fri, 10 May 2019 23:17:10 +0200

opencv-3.4.1 + qt-5.6.3 + vs2015 + cmake-3.11.1 Install opencv [Illustration]

1. Prepare: 1.cmake-3.11.1-win64-x64 https://cmake.org/files/v3.11/  2.qt-opensource-windows-x86-msvc2015-5.6.3  3.vs2015  4.opencv-3.4.1-vc14_vc15.exe   https://github.com/opencv/opencv/releases/tag/3.4.1 2. Install software: 1.cmake installation (unzip to use) 2.qt installation, also install WDB http://www.codemac ...

Posted by romanali on Fri, 10 May 2019 17:19:22 +0200