Make a simple library management system with Flask + Vue

design sketch: preface Before we start, let's talk about Django and Flask. Compare the decoration style: one is light luxury style (left in the figure below) and the other is Syrian style (right in the figure below):   Django is more comfortable to use. It is probably the "bag check-in" mode in the mouth of the tenant. It has ...

Added by dhe on Mon, 03 Jan 2022 18:10:48 +0200

Flash + ecarts + pyecarts + layui + bootstrap + crawler flash fast build learning

First, let's take a look at the example diagram. In order, the following pages are called the home page, everything (randomly taken), login page and resource management Start. Bootstrap template package download address https://codeload.github.com/twbs/bootstrap/zip/v3.4.1 The front-end page is really difficult. The resource management pa ...

Added by teomanersan on Mon, 03 Jan 2022 05:00:52 +0200

Colleagues fish and mine clearance to show off ~ I use Python to make automatic mine clearance in ten seconds

Hello, everyone! I'm the IT industry, meow! Today, I went to work. My colleagues were fishing and clearing mines to show off! I use Python to make automatic mine clearance in ten seconds! Automatic mine sweeping is generally divided into two types: one is to read memory data, and the other is to obtain data by analyzing pictures and simul ...

Added by V on Mon, 03 Jan 2022 00:28:36 +0200

[Master the learning notes of flash framework in one week] Template Html page preparation

Jinja2 template engine Template In the previous example, the main function of the view function is to generate the response to the request, which is the simplest request. In fact, view functions have two functions: processing business logic and returning response content. In large-scale applications, putting business logic and presentation co ...

Added by bluegray on Fri, 31 Dec 2021 18:50:27 +0200

Specific use and introduction examples of flash blueprint

1. The most basic blueprint example. from flask import Blueprint, render_template, abort from jinja2 import TemplateNotFound simple_page = Blueprint('simple_page', __name__, template_folder='templates') @simple_page.route('/', defaults={'page': 'index'}) @simple_page.route('/<page>') def show(page):   return " ...

Added by andrewgk on Wed, 29 Dec 2021 06:06:31 +0200

Teach you how to use Python web crawler to send mail regularly (with source code)

Hello, I'm meow in the IT industry. preface A few days ago, a big man shared a code to grab the reading directory and send emails regularly in the group. I feel it's quite good. I'll share it here for you to learn. 1, Train of thought The idea is not difficult. Construct a crawler task, grab the directory on a book website, then return the ...

Added by doublehops on Thu, 23 Dec 2021 22:48:12 +0200

Flash template context and template inheritance

Today, the lesson of Flask has entered the fifth lecture. I started from the most basic point. I believe you have learned it well Today we will focus on two aspects: template context and template inheritance Template context In the previous section, we learned that Jinja2 provides many control structures to change the rendering process ...

Added by nitko on Sun, 19 Dec 2021 06:10:53 +0200

I'm 30 years old and still scratching my ears for powder. Self-developed tools let me find the direction....

Hello, I'm brother Manon Feige. Thank you for reading this article. Welcome to one click three times. 😁 1. Take a stroll around the community. There are benefits and surprises every week. Manon Feige community, leap plan 💪🏻 2. Python basic column, you can catch all the basic knowledge. Python from introduction to mastery ❤️ 3. Ceph has ev ...

Added by ashben on Mon, 29 Nov 2021 10:43:19 +0200

Flask_ View functions and view classes

1 View function We have learned about the general usage of view functions before. In this section, we will learn more about view functions 1.1 introduction to endpoint The endpin parameter is a parameter written in the decorator of the registered route. Its scientific name is endpoint. We can understand it as an alias of a function. It ...

Added by smiley_kool on Fri, 19 Nov 2021 16:22:09 +0200

Python magic method

Magic attribute People and things often don't play cards according to the routine, and the same is true for Python class attributes. There are some attributes with special meanings. The details are as follows: 1. doc Represents the description of the class class Foo: """ Describe class information, which is a magic tool for watching mov ...

Added by inrealtime on Fri, 19 Nov 2021 09:58:28 +0200