six usage of python

Links to the original text: https://www.jianshu.com/p/62a6e3f2d1ca six usage of python 22017.07.05 15:05:24 words 1365 reading 12462 Preface Recently, in writing a Django project, I saw the use of six in the underlying functions of fo ...

Posted on Tue, 17 Sep 2019 22:53:23 -0700 by porrascarlos80

Django project: 3. User login and logout function

User login and logout function I. Functional Requirement Analysis 1. Login and Exit Function Analysis Flow chart         function Login page Login function Exit function II. Login Page 1. Interface design Interface specification Category Explain Request method GET url definition /user/login/ ...

Posted on Tue, 17 Sep 2019 07:30:56 -0700 by steve55

Multithreading of Concurrent Programming (Updating...)

Multithreading of Concurrent Programming What is thread? Running directly by the cpu, a thread refers to the control flow in a single sequence. In a process, multiple processes can be executed in parallel, and each process can perform different tasks in parallel. If the operating system is compared to a workshop, the process is a workshop, t ...

Posted on Tue, 17 Sep 2019 04:58:23 -0700 by mgilbert

Introduction of keras basic functions and network construction

Keras is a high-level neural network API. Keras is written by pure Python and is based on Tensorflow, Theano and CNTK back-end. Specific keras Chinese Introduction Document A brief introduction to keras Your font Keras was created to support fast ...

Posted on Mon, 16 Sep 2019 20:23:06 -0700 by lyasian

One line of Python code's legendary Technology

First, you need to understand Python Zen, a line of code output "The Zen of Python": python -c "import this" """ The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than compl ...

Posted on Mon, 16 Sep 2019 02:17:09 -0700 by Zpixel

WEB Backend Services Day 23 - Django Project Day 3

WEB Backend Services Day 23 - Django Project Day 3 form Form Class The form form class is primarily used to render front-end form forms, or it can be used on the form page of a site. 1.1 Create a form class By creating a forms.py script under ...

Posted on Sun, 15 Sep 2019 18:53:31 -0700 by balistic

python dynamic video downloader

Here you can share some applications of python crawlers, which are mainly downloaders of videos, music and stories using crawlers with a simple GUI interface.Today, I'll show you how to implement a dynamic video downloader.   Crawl Movie Paradise Video The first introduction is python's video crawling the movie paradise website (including mo ...

Posted on Sun, 15 Sep 2019 10:41:45 -0700 by skurai

Django uses built-in functions and celery to send mail

Mailbox Configuration Open stmp service Take 163 mailbox for example, Click to set stmp inside   Open Client Authorization Password As shown above, because I'm already on, the page above appears. In this way, the mailbox is ready.   Send mail using Django built-in functions 1. Add the following configuration to the settings file ...

Posted on Sun, 15 Sep 2019 09:44:49 -0700 by robviperx

Experience Recall (Manual) => Scrapyd Deployment Crawler + Encapsulation of Django-View Interface Calls

Preface My previous project: Linux's Screen Session Tool + Scrapy's JOBDIR to control the crawler switch.But then I came up with the idea of using the Web to control the crawler switch. So I thought about using Scrapyd service. Deployment of crawler projects Install scrapyd service pip install scrapyd Start scrapyd service scrapyd # Sta ...

Posted on Sun, 15 Sep 2019 08:10:32 -0700 by merck_delmoro

Several lines of python code-verification code recognition processing

First, in automated testing, there are two ways to deal with verification codes: 1. Look for development to remove validation codes or use universal validation codes 2. Automatic identification using OCR Here, one way is to communicate with R&D. ...

Posted on Sun, 15 Sep 2019 07:05:00 -0700 by the_ut_tick