Python learning notes (36-40) classes and objects

Learning topics: classes and objects Study date: February 9, 2020 Python version: 3.7.4 Learning note: it's very difficult here, especially the first contact with the concept of object-oriented. What I wrote below is not very clear. Lesson 36 concept of object How to describe an object. For example, thi ...

Posted by mikeabe on Tue, 11 Feb 2020 01:01:17 -0800

[note 4-commodity module] independently completed the development of enterprise Java e-commerce website (server side) from 0

Classification management module Data table structure design Classification table CREATE TABLE,mmall_ category' ( 'id' int(11) NOT NULL AUTO_ INCREMENT COMMENT ' category Id', 'parent_ id' int(11) DEFAULT NULL COMMENT 'Parent category id When id=0 Time description is the root node,Class I' , 'name' varchar(50) DEFAULT NULL COMMENT ' Category n ...

Posted by monk.e.boy on Mon, 10 Feb 2020 23:55:06 -0800

Android-RecyclerView Multi-Layout Encapsulation

Encapsulation of multiple layouts, primarily addressed during developmentData Binding Interface, View Layout Return Interface, Data Binding: Provides a tag attribute in the holder class. Initializing the holder identifies the viewtype returned by the view layout so that switch(holder.gettag()) can de ...

Posted by Jbert2 on Mon, 10 Feb 2020 21:00:43 -0800

JAVAEE takes a closer look at JavaWeb 11 - JavaScript Advanced

Content: 1. JavaScript: 1. ECMAScript: 2. BOM: 3. DOM: 1. Event DOM Simple Learning: To meet case requirements *Function: Control the content of html documents *Get page label (element) object: Element * document.getElementById("id value"): Get the element object from the eleme ...

Posted by anybody99 on Mon, 10 Feb 2020 18:10:52 -0800

A case study of machine learning in Boston area

The goal of regression problem prediction is continuous variable data description # Import Boston house price data reader from sklearn.datasets from sklearn.datasets import load_boston # Read the house price data from and store it in the variable boston boston = load_boston # Output data description ...

Posted by archbeta on Mon, 10 Feb 2020 07:53:24 -0800

Getting started with CSS

Introduction to CSS (1) What is CSS? How can CSS be used? CSS selector (Key + difficult) Beautify web pages (text, shadows, hyperlinks, lists, gradients...) Box model Float Location Web location (special effects) 1. What is CSS 1.1 what is CSS Cascading Style Sheet cascading styl ...

Posted by msurabbott on Mon, 10 Feb 2020 05:24:36 -0800

Quick learn - MyBatis map file

Chapter 4 MyBatis mapping file 4.1 introduction to mybatis mapping file The real power of MyBatis lies in its mapping statement and its magic. Because of its extraordinary power, the XML file of mapper is relatively simple. If you compare it with JDBC code with the same function, you will immediate ...

Posted by wtg21.org on Mon, 10 Feb 2020 04:20:58 -0800

[JAVA] HTTP protocol learning notes

1. introduction HyperText Transfer Protocol (HTTP) is a standard (TCP) for client (user) and server (website) requests and responses. It is an application layer protocol based on TCP/IP protocol. Request response mode Stateless protocol Do not save the communication state between the request and the ...

Posted by luked23 on Sun, 09 Feb 2020 23:50:03 -0800

[Python reptile actual combat] statistics of OJ test record statistics of Codeforces test record

Article directory 1, Demand analysis 2, Specific implementation 3, Full code I don't know if other people will do this. Anyway, as an Acmer who has been in the pit for more than one year, sometimes I want to know how many problems I have written. Of course, I can go to OJ for one problem, but it's ...

Posted by 87dave87 on Sun, 09 Feb 2020 23:09:09 -0800

SQL injection filter for WebApi

Development tools: Visual Studio 2017 C × version: C × 7.1 The most effective way to prevent SQL injection is to use parameterized queries when invoking the database. But if you are taking over an old WebApi project and don't want to change the code of many database access layers, how to do it. My solution is to add a filter. Write ...

Posted by njm on Sun, 09 Feb 2020 10:56:35 -0800