django advanced view layer

A basic environment 1 Environmental Treatment mkdir djanad cd djanad/ pyenv virtualenv 3.6.5 djanad pyenv local djanad give the result as follows 2 Create django and basic configuration pip install django==2.1 django-admin startproject demo . django-admin startapp app give the result as follows The database configuration is a ...

Posted on Wed, 19 Feb 2020 10:24:05 -0800 by redzzzon

Font Anti-Crawling Solution--Break through the mechanism of dithering anti-crawling

Font Anti-Crawl Case Occasionally, when crawling information from some websites, you will encounter such situations as normal web browsing, python crawling, and F12 viewing web source code in developer mode.This is typically a site with font backcrawling. 1. Prepare url URL: https://www.iesdouyin.co ...

Posted on Sun, 16 Feb 2020 19:25:50 -0800 by umguy

Machine learning feature Engineering 3 - feature tools

FeatureTools introduction Featuretools is a framework for performing automatic feature engineering. It is good at transforming interrelated data sets into feature matrices for deep learning. We can divide the operations of feature construction into two categories: transformation and aggregation. Let's use the following example to l ...

Posted on Thu, 13 Feb 2020 10:54:29 -0800 by Rik Peters

QQ game fault finding script

Preface Bi set interferes with the progress of the previous note taking. In his spare time, he makes fun of himself by finding fault, but sometimes he finds five differences and only finds two or three, which makes him feel very uncomfortable. So we made an assistant for QQ game hall – > let' ...

Posted on Wed, 12 Feb 2020 04:42:48 -0800 by articlesocial

Python new coronavirus epidemic simple simulation program ﹣ Python Wizard module

The first situation: No paramedics, no safeguards! People walk around, Soon, all infected with the virus Red? Amounts = 30? 1. Number of infected Red dot speed factor Limes = 300 ා 3. Number of uninfected people Limeu protection = 0 ා 4. Number of protective measures Life speed k = 5 5, movement ...

Posted on Wed, 12 Feb 2020 03:54:30 -0800 by monarlte

Implement FlowNetPytorch (ubuntu18.04 cuda10.1 cudnn7.6.4) using a pre-trained model

The definition of optical flow and so on, if you don't know you can search by yourself, you won't talk about it here. There are many traditional methods for optical flow extraction, which do not necessarily require in-depth learning, such as those that come with opencv.Here's how to say that flownet is ...

Posted on Tue, 11 Feb 2020 19:56:33 -0800 by Gibbs

Brief notes on Python 1: overview and environment construction

At the beginning of last year, I was determined to blog diligently in 2019. However... This year, I decided that even if I wrote "from entry to giving up", I would also develop a habit of daily accumulation. As an algorithm coder who mainly uses keras/TF, he decided to tell pytorch the truth at the beginning of the new spring. Inste ...

Posted on Fri, 31 Jan 2020 17:09:44 -0800 by tmayder

Use Python to crack the verification code, just a few minutes!

Before crawling some web page data, we need to get its verification code, and then splice the url to get the data. Then by looking at the form of the verification code, we can add some simple letters and numbers, and then add the dry verification code. Then Baidu on the Internet, Python can do some simple verification code cracking. The specifi ...

Posted on Fri, 31 Jan 2020 00:55:38 -0800 by toro04

Using Python to download data on LAADS automatically and in batches

Catalog Preface Profile data download link Python+Selenium+ChromeDriver configuration Using Python+Selenium to call wget to download data Using Python+Selenium to call IDM to download data summary 1. Preface LAADS(https://ladsweb.modaps.eosdis.nasa.gov/ )It's a NASA data distribution website. On t ...

Posted on Wed, 29 Jan 2020 02:30:17 -0800 by Dax

Crawling pictures of python learning notes

Purpose: according to the input navigation bar name, obtain the corresponding picture and save it to local by classification First, import the required modules. If you are prompted with an error, you can use pip to install in cmd if it is not installed import requests,os,shutil import re import time from fake_useragent im ...

Posted on Sun, 26 Jan 2020 07:42:03 -0800 by EZE