In 315 cities across the country, use python to crawl the store information of KFC grandpa

    I think I have lived in this world for more than 20 years. The most popular restaurant I have ever been to is KFC's birthday when I was a child. Now I grow up, KFC has become my daily snack. When I go hungry from the front door after work, I will go in and buy a cup of coffee in the morning. It's mainly fast, delicious and full, and it's ...

Posted by integravtec on Wed, 29 Apr 2020 14:40:14 +0200

[interesting case] make a screen recording tool with Python

1, Write in front As a test, sometimes it is often necessary to record their own operation on the screen, so as to facilitate the follow-up development and positioning of students. In the past, screen to GIF was used to record the screen and make dynamic pictures. Occasionally, python can also be realized. Then hurry to learn. 2, Effect display ...

Posted by Zup on Mon, 27 Apr 2020 10:21:50 +0200

Methods of python processing files and files (shutil, filecmp, MD5, tarfile, zip)

1, Advanced file processing interface shutil Is a high-level file operation toolIt is similar to advanced API, and its main strength lies in its better support for copying and deleting files. usage method Copyfile (src, dst) is copied from source src to dst. Of course, the premise is that the target address has writable permission. The exce ...

Posted by Dorin85 on Mon, 27 Apr 2020 08:14:45 +0200

Crawling cache agent free ip, build its own agent ip pool, no longer afraid of anti crawling (with code)

In the process of doing crawler, we often encounter the following situations: at first, the crawler runs normally and grabs data normally, but the effort of a cup of tea may make mistakes, such as 403 Forbidden; at this time, the web page may appear the prompt of "your IP access frequency is too high", which may be unsealed after a l ...

Posted by phpfreak on Sat, 25 Apr 2020 09:53:12 +0200

Python - Cryptographic programming

1. Introduction Information encryption and information hiding are the main means to achieve information security and confidentiality.A large number of encryption algorithms and methods for hiding information have been invented since ancient times.For example, if you wrap a screw of paper around a stick and write on it, spread it out and pass it ...

Posted by thefamouseric on Thu, 16 Apr 2020 03:45:00 +0200

Summary of python list method

Summary of python list method List.append() method purpose The append() method is used to add a new object at the end of the list.grammar list.append(obj) parameter obj: the object added to the end of the list. Return value There is no return value for this method, but the original list will be ...

Posted by PartyMarty on Thu, 05 Mar 2020 14:39:18 +0100

Fundamentals of Computer Visual Digital Image Processing

Image Processing Basis 1. Software Installation In the computer vision course, image processing is done in the python environment, so you need to select the software that can edit the python statement. The visual interface of PyCharm is selected here. In addition, there are editors such as VScode,Su ...

Posted by wildcolour on Sun, 23 Feb 2020 04:13:37 +0100

YOLOv3 target detection uses its own data set detailed process.

The specific concept and process of YOLOv3 will not be introduced here, but the implementation steps will be explained directly below. Computer environment: win10 + Python 3.6 + tensorflow GPU 1.12.0 + keras GPU 2.2.4 + cuda9.0IDE: PyCharm + Anaconda Catalog I. production of data set 1.1 LabelImg ta ...

Posted by drorshem on Wed, 05 Feb 2020 14:34:08 +0100

Quick Development of GUI Programs Using PyQt5 in Windows Environment--Configuration of Pycharm

Environment Configuration Install PyQt5 Installation using pip makes it easier to use Pycharm and search directly. In addition to pyqt5, there are pyqt5-tools, which contain some commonly used tools for pyqt5. pip install pyqt5 -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com pip install pyqt5-tools -i http://mirrors ...

Posted by jlh3590 on Thu, 09 Jan 2020 19:36:37 +0100

Rest framework learning quick start

This article mainly refers to the Rest Framework official website documents: https://www.django-rest-framework.org/  And then I realize my own personal summary. Development tools: Pycharm, python 3.7, Django 2.1, djangorest framework-3.9.4 Contents of this article New project: Serializer: View: urls.py: Configur ...

Posted by McMaster on Sat, 02 Nov 2019 04:27:30 +0100