Title label h1-h6
h1 defines the largest title, h6 defines the smallest title. Generally, h1 can only appear once in a page, and as far as possible, the title should not exceed three levels. The h tag has align attribute, and the attribute values are left, center and right.
1 <!DOCTYPE html>
2 <html lang="en">
Posted on Fri, 30 Aug 2019 01:03:44 -0700 by Khrysller
Chinese documents in Django 1.8.2: Chinese Documents in Django 1.8.2
Configure upload file save directory
1) Create a new directory for uploading files.
2) Configure the upload file to save the directory.
Upload Pictures on Background Management Page
1) Design model class.
2) migration to generate tables.
3) Regi ...
Posted on Thu, 29 Aug 2019 22:42:23 -0700 by sfullman
1. What is an ornament?
The decorator is essentially a Python function, which allows other functions to add additional functions without any code changes. The return value of the decorator is also a function object. It is often used i ...
Posted on Thu, 29 Aug 2019 00:59:46 -0700 by dmort
Introduction to ELK
First, ELK is a centralized logging system. It is not a software, but consists of three components: Elastic search, Logstash and Kibana.
Elastic search is a search server based on Lucence, but it is not only a search engine, but ...
Posted on Thu, 29 Aug 2019 00:16:39 -0700 by maxpouliot
1. File operation
Find the file location
Do some work
r-read (read) w-write (write) a-addition
rd -- read byte wd -- empty write, write section ad -- add write (byte)
r+ -- Read and Write w+ -- Write and Read a+ -- Additional Reading
open(): Open. Open controls the operating system through python to open files.
Posted on Wed, 28 Aug 2019 21:47:41 -0700 by mevasquez
Author: Hello GitHub - Dream chaser
The sample code involved in this article has been synchronously updated to HelloGitHub-Team repository
The model for blog posts has an excerpt field, which stores a summary of the posts.Until now, you can only manually enter summaries for articles in the django admin background.Each time you enter a summary ...
Posted on Wed, 28 Aug 2019 19:11:10 -0700 by anhedonia
Posted on Wed, 28 Aug 2019 18:47:53 -0700 by tommy445
python clustering algorithm solution (rest interface / mpp database / json data / download pictures and data) 1. scene descriptionHas been doing java, because of project reasons, need to encapsulate some classical algorithms to the platform, while learning python, while looking for classical algorithm code online. Today, introduce the classical ...
Posted on Tue, 27 Aug 2019 21:33:34 -0700 by eskimowned
Tag selector object
HtmlXPathSelector() creates a tag selector object with parameters that receive html objects called back by responseNeed to import module: from scrapy.selector import HtmlXPathSelector
The select() tag selector method is a method in the HtmlXPathSelector. The parameter receives the selector rule and the return list element i ...
Posted on Mon, 26 Aug 2019 20:17:23 -0700 by peaforabrain
In the previous article, "Deep into argparse (1)", we explored the basic functions of argparse, including parameter actions and parameter categories, and developed the ability to write a simple command line program.This article will continue to gain insight into the advanced gameplay of argparse, ...
Posted on Mon, 26 Aug 2019 19:37:44 -0700 by tarleton