MindMap Gallery python mind map notes
This is a mind map about "python" mind map notes. It mainly includes language basics, program control structure, sequence data structure, etc. I hope it can be helpful to everyone.
Edited at 2023-12-07 19:23:54This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
python learning
Chapter 1 (Book 2) Language Basics
1 operator
Priority: Arithmetic operators have the highest priority, followed by bitwise operators, member test operators, relational operators, logical operators, etc. To avoid precedence errors, it's best to use parentheses explicitly.
Relationship: == equal to,! = is not equal to, (=)>, (=)<,
Arithmetic: , - ,*multiplication,/division,//finding the quotient, % finding the remainder, **power operation
Logic: and, or, not The operation result is a Boolean value: True, False
Assignment: =, ( , -, /, etc.) =
Membership test: (not) in determines whether it is (not) an element of the sequence. The operation result is a Boolean value: True, False
Object identity, bit: not examined
2 data types
Number: Integer: Integer without decimal point. |Floating point type: composed of integers and decimals|Complex number type: real numbers and imaginary numbers (floating point type)|Boolean type: True (1), False (0)\/Function: int () converted to integer | float () floating point number |complex(x,y) complex number, real number x, imaginary number y.
String: " "Python's characters default to Unicode encoding. Function: ord() converts characters to Unicode codes | chr() converts Unicode to characters
List, tuple, dictionary, set
3 basic functions
1When calling a function, a pair of parentheses "()" must be added after the function name 2 Functions usually have a return value, indicating the result of the call; 3 Different functions have different numbers of parameters, some are required and some are optional; 4. The parameter values of the function must comply with the required data types; 5 Functions can be called nested, that is, one function can be used as a parameter of another function.
input
Format string %, format (alignment specifier and symbol specifier)
4Use modules
import import
Chapter 2 Program Control Structure (Book 3)
1Select structure (branch structure)
if elif else
2 cycle structure
while, for
range(a, b, step) from a to b (excluding b), the step size is step
break,continue,else
Chapter 3 (Book 4) Sequence Data Structure
1 ordered sequence
Indexable and slicing accessible
1.1 List[]: list
Operator operations supported by list objects
Function operations supported by the object
object methods
list comprehension
1.2 tuple(): tuple
Operator operations supported by tuple objects
Function operations supported by the object
object methods
1.3 String (English name str): str
Operator operations supported by the object
Function operations supported by the object (eval)
object methods
2 disordered structure
2.1 Dictionary {}: dict, the keys are immutable and unique
Access dictionary get(key, default)
Function operations supported by dictionary objects
Operator operations supported by the object (neither , - nor * are available)
object methods
2.2 Set {}: set
object methods
Operator operations supported by the object
Function operations supported by dictionary objects
3 sequence unpacking
Chapter 4 Functions (Book 5)
1 Function definition and calling: def, formal parameters, actual parameters
2 function parameters
Positional parameters
Default value parameters
keyword arguments
Variable length parameters: *arg, **kwargs
3. Scope of variables: global
4lambda usage
5if__name__=="__main__" usage
Chapter 5 (Book 6) File and Directory Operations
1File concept
2 file operations (actually mainly txt files)
Opening and closing files: open, close, with statements
Reading and writing files
3csv file operations and concepts: reader, writer (import csv before use)
4 Directory (i.e. folder) operations: os must be introduced before using many methods
Function usage that is easy to ignore
The output results of zip, enumerate, map and other functions are traversal objects (i.e. its location?), to view what it contains, apply list, tuple etc. into lists, tuples, etc.
immutable sequence
variable sequence