django user login design of novice Python

Environmental preparation Front end framework semantic ui Python 3.6.4 pip install django The development tool is pyCharm Data model design The user table contains the following information User name Full name Gender Password Cell-phone number Creation time Update time Is it effective? The user/models.py user model is as follows user is the ...

Posted by plouka on Wed, 01 Apr 2020 00:13:14 -0700

Python learning - shopping cart program

Procedure: shopping cart procedure Demand: After starting the program, let the user enter the salary, and then print the list of products Allow users to purchase products according to the product number After the user selects the goods, check whether the balance is enough, deduct the money directly if it is enough, and remind if it is not enou ...

Posted by timbuckthree on Sun, 29 Mar 2020 08:45:56 -0700

How to use python crawler to crawl from a chapter novel to a whole station novel

  Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. PS: if you need Python learning materials, you can click the link below to get http://t. ...

Posted by rinventive on Sat, 28 Mar 2020 08:08:42 -0700

Data loading in deep learning (tensorflow2.0 as an example)

background knowledge In deep learning, data preprocessing takes up a large part of our training process. How to use different databases to load our data is particularly important. So this blog will combine Data loading in tensorflow 2.0 The official documentation describes how to load our own tagged d ...

Posted by austenr on Sun, 15 Mar 2020 20:29:32 -0700

MXNET deep learning framework-01-ndarray most basic use (data structure)

The most basic use of ndarray in mxnet Recently, I was learning the deep learning framework of mxnet. As the saying goes, "a good memory is better than a bad pen". Now, I will record the learning process and content so that I can review it at any time. PS: on my laptop, I installed the mxnet ...

Posted by xionhack on Sun, 15 Mar 2020 03:34:02 -0700

Python starts from scratch - renovation of the blog project on the official website from 0

Verify the Python blog from 0 on, and I don't know what I want to verify.Write whatever you think.First set up the official blog.Record a hole in the middle. Official address 1. Preparation: Tools: pycharm+Anacondar Environment: Django3+python3.8 2. Create a project: pycharm->file->new project ...

Posted by Quinton1337 on Sat, 14 Mar 2020 18:29:40 -0700

User module creation for python framework Django real-world mall project

Create User APP There will be multiple applications throughout the project and they need to be stored in a separate file package, so create a new apps directory to manage all the sub-applications. Wear-through users application under apps package directory python ../../manage.py startapp users At this ...

Posted by discostudio on Mon, 09 Mar 2020 20:55:51 -0700

When the LPR rate comes, should we change our mortgage?

According to the announcement of the people's Bank of China, the conversion of pricing benchmark for stock floating rate loans was started as scheduled on March 1, 2020. According to the regulations, the lender of stock floating rate housing loan can choose fixed interest rate or floating interest ra ...

Posted by wilburforce on Wed, 04 Mar 2020 03:34:06 -0800

[Python data visualization] Matplotlib learning notes

[Python data visualization] Matplotlib learning notes (1) Introduction: Matplotlib is a Python 2D drawing library, which generates publishing quality graphics in various hard copy formats and cross platform interactive environments. With Matplotlib, developers can generate graphs, histograms, power ...

Posted by jwilley on Sat, 22 Feb 2020 06:33:43 -0800

(Python 3) opencv camera calibration

Preface The process of mapping coordinate points (in meters) in 3D world to 2D image plane (in pixels) can be described by a geometric model. There are many kinds of models, the simplest of which is called pinhole model. In order to get a good imaging effect, we add a lens in front of the camera. Th ...

Posted by guido88 on Sun, 16 Feb 2020 05:10:09 -0800