自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

转载 Python notes 0014: Classes 3

Contents123 1 2 3

2021-05-15 11:08:26 222

转载 Python notes 0013: Classes 2

Contents属性方法(功能)self魔术方法 属性 方法(功能) self 魔术方法

2021-05-13 17:51:25 284

转载 Python notes 0012: Classes 1

Contents1 List Comprehensions2 Iterators3 Generators3.1 Generator Expressions4 Classes 1 List Comprehensions List comprehensions provide a concise way to create lists. Common applications are to make new lists where each element is the result of some opera

2021-05-11 17:51:30 268

转载 Python notes 0012: Function 3

Contents1 Lambda Expressions2 Decorators2.1 Functions are objects2.2 Decorators2.3 Syntactic sugar2.4 Arguments3 PEP 84 Exercise 1 Lambda Expressions Small anonymous functions can be created with the lambda keyword. This function returns the sum of its two

2021-05-08 17:19:28 328

转载 Python notes 0010: Function 2

Contents1 The `return` statement2 Documentation Strings3 Scope of Variables4 Namespaces in Python4.1 The Built-In Namespace4.2 The Global Namespace4.3 The Local and Enclosing Namespaces5 Recursion5.1 What is recursion?5.2 Python Recursive Function5.3 Advan

2021-05-06 16:16:06 368

转载 Python notes 0009: Define Function 1

ContentsD D

2021-04-29 12:30:00 455

转载 Python notes 0008: Data type

Contents1 Tuples and Sequences2 Dictionaries3 Sets4 Exercise 1 Tuples and Sequences We saw that lists and strings have many common properties, such as indexing and slicing operations. They are two examples of sequence data types (see Sequence Types — list,

2021-04-27 13:16:08 234

转载 Python notes 0007: Control Flow Tools 2 and List

Contents1 Control flow tools1.1 `for` Statements1.2 The `range()` Function2 List 1 Control flow tools 1.1 for Statements The for statement in Python differs a bit from what you may be used to in C or Pascal. Rather than always iterating over an arithmetic

2021-04-24 15:35:20 223

转载 Python notes 0006: Control Flow Tools 1

Contents1 Basic knowledge1.2 Concept22.12.2 More Control Flow Tools2.2.1 `if` Statements2.2.2 `break` and `continue` Statements, and `else` Clauses on Loops 1 Basic knowledge 1.2 Concept 2 2.1 ①Open cmd.exe and enter python to enter interactive mode. ②we c

2021-04-21 23:53:45 311

转载 Python notes 0005: Operator

ContentsH H

2021-04-20 15:14:36 397

转载 Python notes 0004: Strings

Contents1 What is strings in Python?1.1 Definition 1 What is strings in Python? 1.1 Definition C:\WINDOWS\system32\cmd.exe - python Python 3.7.9 Python can also manipulate strings, which can be expressed in several ways. They can be enclosed in single quot

2021-04-17 11:48:58 431

原创 Python notes 0002: Install Python

Contents1 Python1.1 Definition 1 Python 1.1 Definition ctrl + p

2021-04-15 16:29:27 517

原创 Python notes 0001:Computer

计算机

2021-04-15 13:47:54 806

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除