The fourth day of vegetable learning python -- string object learning, slicing operation, function, global \ local variable

1, String object· 1,What is a string //Enclosed by single quotation mark, double quotation mark and triple quotation mark 2,Definition string s = 'today is friday' ss = "wo shi meinv" sss = """wo bu hui""" s1 = str("aaa") 3,Common methods for Strings: 1)'capitalize' #Capitalize the first l ...

Posted by jonahpup on Wed, 04 Mar 2020 06:25:24 -0800

Using spring MVC to upload files

Original address: http://www.yiidian.com/springmvc/file-upload.html File upload is a common requirement in the presentation layer. In Spring MVC, the common file upload tool of Apache is used to complete file upload and encapsulate it, making it more convenient for developers to use. Let's see how to develop it? 1 import common file upload pack ...

Posted by enoyhs on Wed, 04 Mar 2020 05:04:44 -0800

Java Concurrent Programming (01): thread creation, state cycle management

Source code: GitHub point here || GitEE point here 1, Introduction to concurrent programming 1. Basic concepts program Computer programs, procedures, rules and possible files, documents and data related to the operation of computer system. process A process is a program in a computer. A running activity on a data set is the basic unit of ...

Posted by pea on Wed, 04 Mar 2020 04:44:13 -0800

Self built free drawing bed, free resources use onedriver api self built drawing bed

Free picture bed, recommended stable Here is the recommendation. It has been summarized Free bed point here It's not easy to use others' worries, and it's not flexible to connect the api. It's mainly to be a station for its own needs Provide an idea to use onedriver or google driver api to build a free drawing bed cocook free picture bed It d ...

Posted by Misery_Kitty on Wed, 04 Mar 2020 04:19:27 -0800

Beginner's python notes (iterator, generator, ternary expression, list parsing)

Iteratable object is a term we are very familiar with. We have also briefly introduced the iteratable object that can be looped for, but in fact, the water in it is deeper. The relationship between iterator and for loop Iterator protocol: The object must conform to a next method. Executing the metho ...

Posted by blmg911 on Wed, 04 Mar 2020 01:29:42 -0800

Experiment report of sequence table (including complete code)

(1) Purpose of the experiment ① Master the structure characteristics and basic operation of linear table. ② Consolidate C related programming methods and techniques. ③ Learn to use sequence table to solve practical problems. (2) Experimental process ① Establish a sequence table, input n elements and out ...

Posted by Ju-Pao on Tue, 03 Mar 2020 21:34:58 -0800

Spark SQL dataframe, DataSet and RDD

Spark SQL directory DataFrame DataSet RDD DataFrame, conversion between DataSet and RDD DataFrame, relationship between DataSet and RDD The commonness and difference between DataFrame, DataSet and RDD 1.Spark SQL Spark SQL is a module used by spark to process structured data. It provides two progr ...

Posted by tracivia on Tue, 03 Mar 2020 19:25:20 -0800

Simple Factory-Factory Method for Design Mode Theme-Abstract Factory-Static Agent-Dynamic Agent

1. Factory Mode 1.1 What is factory mode Separation of creator and caller is implemented, factory mode is divided into simple factory, factory method, abstract factory mode 1.2 Factory Mode Benefits Factory mode is one of our most common instantiated object modes, replacing the new operation with ...

Posted by patrickm on Tue, 03 Mar 2020 18:48:06 -0800

[STM32 learning record 4] - 1.44-inch TFT LCD displays characters, Chinese characters and pictures

Author: AXYZdong Automation Engineering Male A little thought, a little thought, a little rationality Summary MCU: STM32F407VET6 minimum system board of a treasure, Click here for details.External resources: TFT LCD screen of a treasure (pictures will be attached below)Click here to download the co ...

Posted by vtolbert on Mon, 02 Mar 2020 22:15:02 -0800

The scope of action of elastic search aggregation

test data index structure PUT /employees/ { "mappings" : { "properties" : { "age" : { "type" : "integer" }, "gender" : { "type" : "keyword" }, "job" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", " ...

Posted by Urbley on Mon, 02 Mar 2020 20:26:35 -0800