当前位置:首页>python>Python入门必备词汇实战手册:一次搞懂100+核心术语

Python入门必备词汇实战手册:一次搞懂100+核心术语

  • 2026-08-18 23:11:35
Python入门必备词汇实战手册:一次搞懂100+核心术语

新手学Python最大的障碍不是逻辑,是单词。这篇笔记把高频词汇按场景分类,配合代码示例,看完就能上手。

很多读者跟我反映,学Python最头疼的不是语法本身,而是那些英文单词根本不认识

"老师讲'append',我以为是'附加'的意思,结果它是'追加'……""明明看懂了代码逻辑,但一看到'def'就懵了。"

说实话,这是所有非英语母语学习者的共同痛点。Python作为一门英文编程语言,它的关键字、内置函数、常用方法都是英文单词。不认识这些词,就像拿着中文说明书去修进口车——看是能看,但总隔着一层。

这篇笔记,我把Python入门阶段最常用的100多个核心词汇,按照学习路径分成了十大类。每个词都配上中文解释 + 代码示例 + 实用场景,帮你一边记单词一边敲代码。

一、交互式环境与输出(你最常打交道的词)

学Python写的第一个程序就是输出。这几个词你每天都要用:

词汇
中文
说明
print
打印/输出
把内容显示在屏幕上
coding
编码
文件开头的编码声明
syntax
语法
语言的书写规则
error
错误
代码报错时出现这个词
invalid
无效的
"invalid syntax"表示语法无效
identifier
名称/标识符
变量、函数的名字

代码示例:

print:把内容输出到屏幕print("Hello Python")   # 输出:Hello Python# coding:指定文件编码(Python文件头部)# -*- coding: utf-8 -*-# syntax error:语法错误——你最常见到的报错如果写成 print("Hello"  忘记括号,就会报 SyntaxError

实战场景: 每次代码运行报错,看到SyntaxError: invalid syntax,就是告诉你"你写的东西不符合Python语法规则"。这时候回头检查括号、冒号、引号。

二、字符串操作(处理文字必备)

字符串就是文字内容,下面这些词全是跟文字处理相关的:

词汇
中文
说明
user
用户
经常用作变量名
name
姓名/名称
最常用的变量
attribute
字段/属性
对象的属性
value
变量存储的内容
key
字典里的键
year/month/day
年/月/日
日期相关

代码示例:

# user 和 name 是最常用的变量名user_name = "张三"print(user_name)  # 输出:张三# attribute:对象的属性text = "hello"print(text.upper())  # upper() 就是字符串的一个属性(方法)# key 和 value:键值对user_info = {"name""张三""age"25}# key是"name",value是"张三"

实战场景: 写任何程序都要起变量名。user_namea好一万倍——前者一看就知道存的是用户名,后者过两天你自己都忘了。

三、重复/转换/替换/原始字符串(文本加工)

词汇
中文
说明
upper
转大写
把所有字母变大写
lower
转小写
把所有字母变小写
capitalize
首字母大写
第一个字母大写,其余小写
title
标题格式
每个单词首字母大写
replace
替换
把旧内容换成新内容
old/new
旧的/新的
replace的搭档
count
计数
数一数有几个
swap
互换
交换大小写

代码示例:

text = "hello python"# upper:全部大写print(text.upper())   # HELLO PYTHON# lower:全部小写(已有数据规范化常用)print(text.lower())   # hello python# capitalize:首字母大写print(text.capitalize())  # Hello python# title:每个单词首字母大写print(text.title())   # Hello Python# replace:替换print(text.replace("python""world"))  # hello world# count:计数print(text.count("l"))  # 2(有两个字母l)

实战场景: 用户登录时,不管用户输入的是"Admin"还是"admin",都用.lower()统一转成小写再比对,避免大小写错误。

四、去除/查询/计数(清理数据)

词汇
中文
说明
strip
去除
去掉首尾的空格或指定字符
index
索引
查找某个字符的位置
find
查找
查找子串位置(找不到返回-1)
count
计数
统计某个字符出现次数
start/end
开始/结束
判断以什么开头/结尾
chars
字符
多个字符的集合
sub
附属/子串
substring(子字符串)

代码示例:

text = "  Hello Python  "# strip:去除首尾空格(处理用户输入超级有用)print(text.strip())   # "Hello Python"# find:查找位置print(text.find("Python"))   # 8(找到返回起始位置)print(text.find("Java"))     # -1(找不到返回-1)# count:计数print(text.count("o"))   # 2# startswith / endswith:判断开头结尾print(text.strip().startswith("Hello"))  # True

实战场景: 用户提交表单时,名字前后经常有多余空格。username = input("输入姓名:").strip() 能一键去除,避免"张三"和"张三 "被当成两个人。

五、获取输入与格式化(和用户打交道)

词汇
中文
说明
input
输入
从键盘获取用户输入
prompt
提示
输入框前面的提示文字
ID
身份证/编号
唯一标识
format
格式化
把数据按指定格式拼成字符串
args
参数
argument的缩写
kwargs
关键字参数
keyword arguments的缩写

代码示例:

# input:获取用户输入name = input("请输入你的姓名:")  # prompt就是"请输入你的姓名:"print(f"你好,{name}")  # f-string格式化(Python 3.6+)# format:另一种格式化方式age = 25print("我今年{}岁".format(age))  # 我今年25岁# args 和 kwargs:写在函数里的参数defmy_func(*args, **kwargs):    print(args)   # 收到位置参数,是一个元组    print(kwargs) # 收到关键字参数,是一个字典

实战场景: 写一个用户注册程序,用input()获取用户名、密码,用format()或f-string拼出欢迎语。

六、元组(不可变的序列)

词汇
中文
说明
tuple
元组
不可变的列表
max/min
最大/最小
取最大最小值
iterable
可迭代的
可以用for循环遍历的
function
方法/函数
一段可复用的代码
stop
停止
停止循环或切片结束位置
object
对象
Python里万物皆对象

代码示例:

# tuple:用小括号,不能修改colors = ("red""green""blue")print(colors[0])   # redcolors[0] = "yellow"  # 这会报错,tuple不能修改max / min:最大最小值numbers = (37192)print(max(numbers))   # 9print(min(numbers))   # 1# iterable:可迭代对象(列表、元组、字符串都可以for循环)foritemin colors:    print(item)   # 依次输出 red green blue# object:一切皆对象print(type(123))    # <class 'int'>print(type("abc"))  # <class 'str'>

实战场景: 存储一周七天这种"不该变"的数据,用元组比列表更安全——防止有人意外修改。

七、列表(最常用的数据容器)

词汇
中文
说明
list
列表
可变的序列,用方括号
reverse
反向
把顺序倒过来
true/false
真/假
布尔值
append
追加
在末尾添加一个元素
extend
扩展
把另一个列表的所有元素加进来
insert
插入
在指定位置插入
index
索引
元素的位置编号
find
查找
找元素位置(字符串专用)
count
计数
统计元素出现次数
pop
取出
移除并返回最后一个元素
remove
移除
移除第一个匹配的元素
del
删除
删除指定位置的元素
clear
清除
清空所有元素
sort
排序
从小到大排列

代码示例:

fruits = ["apple""banana""orange"]# append:追加(最常用)fruits.append("grape")print(fruits)  # ['apple''banana''orange''grape']# extend:扩展(把另一个列表加进来)more = ["mango""peach"]fruits.extend(more)print(fruits)  # ['apple''banana''orange''grape''mango''peach']# insert:插入指定位置fruits.insert(0, "kiwi")  # 在第一个位置插入print(fruits)  # ['kiwi''apple''banana', ...]# pop:取出最后一个last = fruits.pop()print(last)    # peachprint(fruits)  # 少了最后一个# remove:移除指定元素fruits.remove("banana")print(fruits)  # banana没了# sort:排序numbers = [314159]numbers.sort()print(numbers)  # [1, 1, 3, 4, 5, 9]# reverse:反转fruits.reverse()print(fruits)  # 顺序反过来了

实战场景: 写一个待办事项应用——用append添加新任务,用pop完成最后一个任务,用remove删除指定任务。列表几乎承包了80%的数据存储需求。

八、集合(去重神器)

词汇
中文
说明
set
集合/设置
无序、不重复的元素集
add
添加
添加元素
update
更新
合并另一个集合
discard
丢弃
移除元素(不存在也不报错)
intersection
交集
两个集合共有的元素
union
并集
两个集合所有的元素
difference
差集
在一个集合但不在另一个的
symmetric
对称差
只属于其中一个集合的元素
in
在……里面
判断是否属于
not
不/不是
取反
subset
子集
是否被包含
superset
超集/父集
是否包含
copy
复制
拷贝一份

代码示例:

set:自动去重nums = [1223334]unique=set(nums)print(unique)  # {1, 2, 3, 4}# add:添加元素unique.add(5)print(unique)  # {1, 2, 3, 4, 5}# intersection:交集a = {1234}b = {3456}print(a & b)  # {34}(等价于 a.intersection(b))# union:并集print(a | b)  # {1, 2, 3, 4, 5, 6}# difference:差集print(a - b)  # {12}(在a不在b# in / not in:判断是否属于print(3 in a)   # Trueprint(7 in a)   # False

实战场景: 两个Excel表格都有用户ID,想找出"在A表但不在B表"的人——用集合的difference,一行代码搞定,不用写循环。

九、字典(键值对存储)

词汇
中文
说明
dict
字典
键值对存储,用花括号
key
键/关键字
字典里的索引
value
键对应的内容
item
一个键值对
mapping
映射
键到值的映射关系
seq
序列
sequence的缩写
from
从/来自
创建字典的方式
get
获取
安全地获取值(找不到返回None)
default
默认
默认值
none
没有
空值
arg
可变元素
arguments的缩写
kwargs
可变关键字元素
keyword arguments的缩写

代码示例:

# dict:键值对存储student = {    "name":"张三",    "age":20,    "major":"计算机"}# key 和 value:访问print(student["name"])   # 张三print(student.get("age"))  # 20(用get更安全)get:找不到不报错,返回Noneprint(student.get("grade"))  # None# item:遍历所有键值对forkey, value in student.items():    print(f"{key}{value}")# 输出:# name:张三# age:20# major:计算机# keys 和 values:单独获取print(student.keys())   # dict_keys(['name''age''major'])print(student.values()) # dict_values(['张三', 20, '计算机'])# 添加新键值对student["grade"] = "A"print(student)  # {'name''张三''age'20'major''计算机''grade''A'}

实战场景: 存储用户信息、配置参数、API返回的数据——字典是最合适的数据结构。user.get("email")user["email"]更安全,因为后者在键不存在时直接报错崩溃。

十、循环(重复执行)

词汇
中文
说明
for...in
循环遍历
遍历可迭代对象
while
当……时
条件为真时循环
range
范围
生成一个数字序列
sep
分隔符
separator的缩写,print里的分隔
flush
冲刷
强制输出缓冲区
step
步长
每次跳几步
continue
继续
跳过本次循环
break
突破/跳出
跳出整个循环

代码示例:

# for...in:遍历列表fruits = ["apple""banana""orange"]forfruitin fruits:    print(fruit)# for...in:遍历字符串forcharin"Python":    print(char)   # P y t h o n# range:生成数字序列for i inrange(5):      # 0,1,2,3,4    print(i)for i inrange(28):   # 2,3,4,5,6,7    print(i)for i inrange(1102):  # 1,3,5,7,9(步长2)    print(i)while:条件循环count = 0while count < 5:    print(count)    count += 1break:跳出循环for i inrange(10):    ifi==5:        break   # 到5就停了    print(i)    # 0,1,2,3,4continue:跳过本次for i inrange(10):    ifi%2==0:        continue   # 偶数跳过    print(i)    # 1,3,5,7,9

实战场景:range(len(list))配合索引遍历列表;while True配合break实现"直到用户输入正确为止"的输入验证。

十一、条件判断(让程序做决策)

词汇
中文
说明
if
如果
条件判断
else
否则
条件不成立时执行
case
情形
match...case中的分支
elif
否则如果
else if的缩写

代码示例:

if / else:最基本的判断score = 85ifscore>=60:    print("及格了")else:    print("不及格")elif:多个分支ifscore>=90:    print("优秀")elif score >= 80:    print("良好")elif score >= 60:    print("及格")else:    print("不及格")# Python 3.10+ 的 match...case(类似其他语言的switchstatus = 404matchstatus:    case200:        print("成功")    case404:        print("未找到")    case _:  # 相当于default        print("其他状态")

实战场景: 用户登录验证——if检查用户名是否存在,elif检查密码是否正确,else返回"登录失败"。

十二、运算符与随机数

词汇
中文
说明
module
模块
一个.py文件就是一个模块
sys
系统
system的缩写,系统相关功能
path
路径
文件或文件夹的位置
import
导入
引入模块
from
从……
从模块中导入特定功能

代码示例:

# import:导入模块import randomimport sys# random模块:随机数print(random.randint(1, 10))   # 1到10之间的随机整数print(random.choice(["a""b""c"]))  # 随机选一个# sys模块:系统信息print(sys.path)   # Python查找模块的路径列表print(sys.version)  # Python版本# from...import:只导入需要的功能from math import sqrtpiprint(sqrt(16))   # 4.0print(pi)         # 3.141592653589793

实战场景: 写猜数字游戏——import random,用random.randint(1,100)生成随机数;import sys读取命令行参数。

十三、定义函数(代码复用的核心)

词汇
中文
说明
birthday
出生日期
参数名示例
year/month/day
年/月/日
日期参数
type
类型
数据类型
error
错误
报错信息
missing
丢失的
缺少必要参数
required
必须的
必需参数
positional
位置的
位置参数
unsupported
不支持的
不支持的操作

代码示例:

# 定义函数:def + 函数名 + 参数defgreet(name):    print(f"你好,{name}")greet("张三")  # 你好,张三# 带多个参数def get_birthday(yearmonthday):    returnf"{year}{month}{day}日"print(get_birthday(1995, 8, 15))  # 1995年8月15日# 带默认值defgreet_user(name="游客"):    print(f"欢迎,{name}")greet_user()      # 欢迎,游客greet_user("李四"# 欢迎,李四# 检查参数类型defadd(a, b):    ifnot (isinstance(a, (intfloat)) andisinstance(b, (intfloat))):        raise TypeError("参数必须是数字类型")    return a + b# 常见报错:TypeError: missing 1 required positional argument# 意思是你少传了一个必须的参数

实战场景: 把重复的代码封装成函数。比如写一个"计算BMI"的函数,传入身高体重,返回BMI值和健康评价。以后任何地方需要计算BMI,直接调用就行。

十四、收集参数(灵活接收数据)

词汇
中文
说明
create
创建
创建对象
info
信息
信息参数
age
年龄
示例参数

代码示例:

# *args:收集任意数量的位置参数defsum_all(*args):    total = 0    fornumin args:        total += num    return totalprint(sum_all(1, 2, 3))       # 6print(sum_all(1, 2, 3, 4, 5)) # 15# **kwargs:收集任意数量的关键字参数defshow_info(**kwargs):    forkey, value in kwargs.items():        print(f"{key} = {value}")show_info(name="张三", age=25, city="北京")# name = 张三# age = 25# city = 北京

实战场景: 写一个"发送通知"函数,用**kwargs接收各种自定义参数(标题、正文、发送时间、优先级等),灵活适应不同场景。

十五、嵌套函数/作用域/闭包(进阶必知)

词汇
中文
说明
inside
内部的
内部函数
outside
外部的
外部函数
radius
半径
圆的半径
perimeter
周长
圆的周长
case
情形
场景

代码示例:

# 嵌套函数:函数里面定义函数defouter():    x = "外部变量"    definner():        print(x)  # 内部可以访问外部的变量    inner()outer()  # 外部变量# 闭包:内部函数记住外部函数的变量defmake_multiplier(n):    defmultiplier(x):        return x * n    return multipliertimes2 = make_multiplier(2)times3 = make_multiplier(3)print(times2(5))  # 10print(times3(5))  # 15

实战场景: 闭包可以用来"记住"某种状态。比如创建一个计数器函数,每次调用都+1,而不需要用全局变量。

十六、递归函数(自己调用自己)

词汇
中文
说明
recursion
递归
函数调用自身
Infinite
无穷的
无限递归
maximum
最大值
最大递归深度
depth
深度
递归的层数
exceeded
超过的
超过最大限制
factorial
阶乘
递归的经典例子
search
查询
搜索功能
power
次方计算
lower/upper/middle
下/上/中
位置描述

代码示例:

# 阶乘:递归的经典例子# 5! = 5*4*3*2*1deffactorial(n):    ifn==1:        return1    else:        return n * factorial(n - 1)print(factorial(5))  # 120# 递归深度限制:默认1000层# 超过会报错:RecursionError: maximum recursion depth exceeded# 二分查找(递归实现)defbinary_search(arr, target, low, high):    iflow>high:        return -1    mid = (low + high) // 2    ifarr[mid]==target:        return mid    elif arr[mid] > target:        return binary_search(arr, target, low, mid - 1)    else:        return binary_search(arr, target, mid + 1, high)

实战场景: 遍历文件夹树、处理嵌套的JSON数据、解析XML——用递归比用循环简洁得多。

十七、列表推导式与lambda表达式(Python特色)

词汇
中文
说明
square
平方
计算平方
even
偶数
偶数
comprehension
理解/推导
列表推导式
regular
规则的
正则表达式相关
expression
表达式
表达式
group
正则分组
match
匹配
匹配
span
跨度
正则匹配的起止位置
ignore case
忽略大小写
不区分大小写
multi line
多行
多行模式
dot all
点全部
点号匹配换行符
unicode
万国码
Unicode字符集
verbose
累赘的
详细模式
pos/position
位置
位置

代码示例:

# 列表推导式:一行生成列表squares = [x**2 for x in range(10)]print(squares)  # [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]# 带条件的列表推导式:只取偶数evens = [x for x in range(20) if x % 2 == 0]print(evens)  # [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]# lambda:匿名函数(一行搞定)square = lambda x: x**2print(square(5))  # 25# 排序时用lambda指定规则students = [("张三"85), ("李四"92), ("王五"78)]students.sort(key=lambdax: x[1])  # 按成绩排序print(students)  # [('王五', 78), ('张三', 85), ('李四', 92)]# 正则表达式相关(re模块)import repattern = re.compile(r'\d+', re.IGNORECASE)  # 忽略大小写match = pattern.search("abc123def")print(match.group())   # 123print(match.span())    # (3, 6)

实战场景: 数据清洗时,[x.strip() for x in data]一行去掉所有字符串首尾空格;filter(lambda x: x > 0, numbers)筛选正数。

十八、常用其他高频词

词汇
中文
说明
height
高度
尺寸参数
width
宽度
尺寸参数
weight
重量
重量参数
splicing
拼接
字符串拼接
params
参数
parameters的缩写
volume
体积
体积参数
operand
操作数
运算符两侧的数据
lambda
lambda
希腊字母λ,匿名函数标志
execute
执行
运行代码

代码示例:

# lambda的来源:希腊字母λ# Python借用来表示匿名函数add = lambda a, b: a + b# params:参数的简称,常用作变量名defcreate_user(params):    name = params.get("name")    age = params.get("age")    returnf"创建用户:{name},年龄{age}"# splicing:拼接(字符串拼接常用)parts = ["Hello""World"]result = " ".join(parts)  # Hello World

实战场景:params是最常见的参数变量名;join()是字符串拼接的最高效方式。

笔记最后

这篇词汇表花了不少篇幅,但它的价值在于:每当你看到不认识的单词,不用去翻字典,来这里查就行。

我的建议是:不要死记硬背。 打开Python交互环境,每个词敲一遍示例代码,看看运行结果。敲得多了,自然就记住了。

如果觉得有用,欢迎点赞、收藏、转发给正在学Python的朋友。

你在学Python时还遇到过哪些让你头疼的词汇?评论区告诉我,我帮你加进这个词汇表里。

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-08-21 18:19:36 HTTP/2.0 GET : https://f.mffb.com.cn/a/508164.html
  2. 运行时间 : 0.238345s [ 吞吐率:4.20req/s ] 内存消耗:4,398.62kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=f496c782cf94f7b690efef919c801b41
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.001046s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001593s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000753s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.001187s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001431s ]
  6. SELECT * FROM `set` [ RunTime:0.000534s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001422s ]
  8. SELECT * FROM `article` WHERE `id` = 508164 LIMIT 1 [ RunTime:0.015434s ]
  9. UPDATE `article` SET `lasttime` = 1787307576 WHERE `id` = 508164 [ RunTime:0.045053s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000895s ]
  11. SELECT * FROM `article` WHERE `id` < 508164 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001252s ]
  12. SELECT * FROM `article` WHERE `id` > 508164 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001242s ]
  13. SELECT * FROM `article` WHERE `id` < 508164 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001514s ]
  14. SELECT * FROM `article` WHERE `id` < 508164 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.001953s ]
  15. SELECT * FROM `article` WHERE `id` < 508164 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.001580s ]
0.242300s