当前位置:首页>python>学Python两年后,我才明白为什么大多数人放弃了...

学Python两年后,我才明白为什么大多数人放弃了...

  • 2026-03-12 02:04:00
学Python两年后,我才明白为什么大多数人放弃了...

引言

你是否有过这样的经历:

😩 打开Python教程,看了两章就放弃...😵 网上教程太杂,不知道该学哪个...🤯 学了一堆语法,真正写项目时还是两眼一抹黑...

如果你有以上任何一种情况,这篇文章就是为你准备的!

今天,小甲鱼把两年多的教学经验整理成一份完整的Python学习路线图,帮你避开我曾经踩过的坑,让你不再迷茫,按部就班成为Python开发者。


第一阶段:入门准备(1-2周)

为什么要学Python?

在开始之前,先问自己一个问题:为什么要学Python?

✅ 简单易学:语法像英语,初中生都能入门✅ 应用广泛:Web开发、数据分析、人工智能、自动化运维...✅ 需求量大:岗位多、薪资高、发展空间大

这就是为什么,Python连续多年被评为"最受欢迎的编程语言"!

开发环境搭建

别被"环境配置"吓到!3分钟就能搞定:

Windows用户:

# 1. 百度搜索 "Python 下载"# 2. 打开 python.org 下载最新版本# 3. 勾选 "Add Python to PATH"# 4. 安装完成,打开cmd输入:python --version

Mac用户:

# Mac系统自带Python,但版本可能较旧# 建议使用 Homebrew 安装新版:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install python3

验证安装:

# 打开终端或cmd,输入:python --version# 应该看到类似输出:# Python 3.12.0

第一个Python程序

每个人的编程之旅都从这里开始:

print("你好,世界!")print("Hello, World!")print("🐢 我是小甲鱼,欢迎学Python!")

恭喜你!你已经是一名Python程序员了 🎉


第二阶段:Python基础(3-4周)

这一阶段是核心,需要稳扎稳打。

2.1 变量和数据类型

# 字符串name = "小甲鱼"print(f"我叫{name}")# 数字age = 18price = 19.99# 布尔值is_student = True# 列表(类似其他语言的数组)fruits = ["苹果""香蕉""橙子"]# 字典(键值对)person = {"name""小甲鱼","age"18,"city""广州"}

2.2 条件判断

score = 85if score >= 90:print("优秀!")elif score >= 80:print("良好")elif score >= 60:print("及格")else:print("需要加油了!")

2.3 循环

for循环:

# 打印1到10for i inrange(111):print(i)# 遍历列表fruits = ["苹果""香蕉""橙子"]for fruit in fruits:print(f"我喜欢吃{fruit}")

while循环:

# 猜数字游戏import randomtarget = random.randint(1100)guess = 0while guess != target:    guess = int(input("猜一个1-100的数字:"))if guess < target:print("太小了!")elif guess > target:print("太大了!")print("恭喜你猜对了!")

2.4 函数

defgreet(name):"""打招呼函数"""returnf"你好,{name}!欢迎学习Python!"# 调用函数message = greet("小甲鱼")print(message)# 带默认参数的函数defpower(base, exponent=2):return base ** exponentprint(power(3))    # 9 (默认平方)print(power(33)) # 27 (立方)

2.5 文件操作

# 写入文件withopen("hello.txt""w", encoding="utf-8"as f:    f.write("你好,小甲鱼!\n")    f.write("Python很有趣!")# 读取文件withopen("hello.txt""r", encoding="utf-8"as f:    content = f.read()print(content)

第三阶段:进阶技能(4-6周)

3.1 面向对象编程

classDog:"""狗类"""def__init__(self, name, age):self.name = nameself.age = agedefbark(self):returnf"{self.name} 汪汪叫!"defget_info(self):returnf"我叫{self.name},今年{self.age}岁"# 创建对象my_dog = Dog("旺财"3)print(my_dog.get_info())print(my_dog.bark())

3.2 异常处理

try:    num = int(input("请输入一个数字:"))    result = 10 / numprint(f"结果是:{result}")except ValueError:print("输入无效,请输入数字!")except ZeroDivisionError:print("不能除以0!")finally:print("程序结束")

3.3 模块和包

# 导入标准库import randomimport datetime# 生成随机数print(random.randint(1100))# 获取当前时间now = datetime.datetime.now()print(f"现在是:{now}")# 导入模块的部分功能from math import pi, sqrtprint(f"π的值是:{pi}")print(f"16的平方根是:{sqrt(16)}")

第四阶段:实战项目(2-4周)

学完基础,必须做项目!这里推荐5个入门级项目:

项目1:猜数字游戏 🎮

import randomdefguess_number():    target = random.randint(1100)    attempts = 0print("=" * 30)print("欢迎来到猜数字游戏!")print("我已经想好了一个1-100的数字")print("=" * 30)whileTrue:try:            guess = int(input("\n请输入你的猜测:"))            attempts += 1if guess < target:print("太小了!再试试")elif guess > target:print("太大了!再试试")else:print(f"🎉 恭喜你!猜对了!")print(f"你用了{attempts}次猜测")breakexcept ValueError:print("请输入有效的数字!")if __name__ == "__main__":    guess_number()

项目2:简单记事本 📝

import osfrom datetime import datetimeFILE_NAME = "notes.txt"defshow_menu():print("\n" + "=" * 30)print("📒 简易记事本")print("1. 查看所有笔记")print("2. 添加笔记")print("3. 删除笔记")print("4. 退出")print("=" * 30)defview_notes():ifnot os.path.exists(FILE_NAME):print("还没有笔记哦~")returnwithopen(FILE_NAME, "r", encoding="utf-8"as f:        notes = f.readlines()if notes:print("\n📝 你的笔记:")for i, note inenumerate(notes, 1):print(f"{i}{note.strip()}")else:print("还没有笔记哦~")defadd_note():    note = input("请输入笔记内容:")    timestamp = datetime.now().strftime("%Y-%m-%d %H:%M")withopen(FILE_NAME, "a", encoding="utf-8"as f:        f.write(f"[{timestamp}{note}\n")print("✅ 笔记已保存!")defdelete_note():    view_notes()try:        num = int(input("请输入要删除的笔记编号:"))withopen(FILE_NAME, "r", encoding="utf-8"as f:            notes = f.readlines()if1 <= num <= len(notes):            notes.pop(num - 1)withopen(FILE_NAME, "w", encoding="utf-8"as f:                f.writelines(notes)print("✅ 笔记已删除!")else:print("编号无效!")except (ValueError, IndexError):print("输入无效!")whileTrue:    show_menu()    choice = input("请选择操作(1-4):")if choice == "1":        view_notes()elif choice == "2":        add_note()elif choice == "3":        delete_note()elif choice == "4":print("👋 再见!")breakelse:print("无效选择,请重新输入!")

项目3:天气查询小助手 🌤️

import requestsdefget_weather(city):"""获取天气(简化版)"""# 这里使用免费API,实际使用时需要申请API Key    url = f"https://wttr.in/{city}?format=j1"try:        response = requests.get(url)        data = response.json()        current = data["current_condition"][0]print(f"\n🌍 {city}的天气情况:")print(f"温度:{current['temp_C']}°C")print(f"体感温度:{current['FeelsLikeC']}°C")print(f"天气:{current['weatherDesc'][0]['value']}")print(f"湿度:{current['humidity']}%")except Exception as e:print(f"查询失败:{e}")defmain():print("🌤️  天气查询小助手")print("输入城市名查询天气,输入q退出")whileTrue:        city = input("\n请输入城市名:").strip()if city.lower() == "q":print("👋 再见!")breakif city:            get_weather(city)if __name__ == "__main__":    main()

项目4:批量重命名文件 📁

import osimport shutildefbatch_rename(folder_path, prefix="file"):"""批量重命名文件夹中的文件"""ifnot os.path.exists(folder_path):print(f"❌ 文件夹不存在:{folder_path}")return    files = os.listdir(folder_path)    files = [f for f in files if os.path.isfile(os.path.join(folder_path, f))]ifnot files:print("📂 文件夹为空")returnprint(f"\n📁 找到 {len(files)} 个文件")print("开始重命名...\n")for i, filename inenumerate(files, 1):# 获取文件扩展名        ext = os.path.splitext(filename)[1]# 新文件名        new_name = f"{prefix}_{i:03d}{ext}"# 完整路径        old_path = os.path.join(folder_path, filename)        new_path = os.path.join(folder_path, new_name)# 重命名        os.rename(old_path, new_path)print(f"  {filename} → {new_name}")print(f"\n✅ 完成!共重命名 {len(files)} 个文件")# 使用示例if __name__ == "__main__":# 请将这里改为你想操作的文件夹路径    folder = input("请输入文件夹路径:")    prefix = input("请输入文件名前缀(直接回车使用默认'file'):"or"file"    batch_rename(folder, prefix)

项目5:简单爬虫 - 抓取壁纸 🖼️

import requestsimport osfrom urllib.parse import urljoindefdownload_image(url, folder="wallpapers"):"""下载单张图片"""try:        response = requests.get(url, timeout=10)        response.raise_for_status()# 获取文件名        filename = url.split("/")[-1]        filepath = os.path.join(folder, filename)# 创建文件夹        os.makedirs(folder, exist_ok=True)# 保存图片withopen(filepath, "wb"as f:            f.write(response.content)print(f"✅ 下载成功:{filename}")returnTrueexcept Exception as e:print(f"❌ 下载失败:{e}")returnFalsedefget_free_wallpapers():"""获取免费壁纸(示例)"""# 使用Unsplash的免费API    url = "https://api.unsplash.com/photos/random"    params = {"client_id""YOUR_ACCESS_KEY",  # 需要申请API Key"count"10    }# 简化版:直接使用已知的一些免费图片URL    wallpaper_urls = ["https://images.unsplash.com/photo-1506905925346-21bda4d32df4","https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05","https://images.unsplash.com/photo-1441974231531-c6227db76b6e",    ]print("🖼️  开始下载壁纸...\n")for i, url inenumerate(wallpaper_urls, 1):print(f"下载第 {i} 张...")# 实际URL需要完整地址,这里只是示例        full_url = f"{url}?w=1920&q=80"        download_image(full_url)if __name__ == "__main__":print("=" * 40)print("🖼️  简易壁纸下载器")print("=" * 40)    get_free_wallpapers()

第五阶段:方向选择

学完以上内容,你可以选择一个方向深入:

🔸 Web开发

推荐框架:Django、Flask

  • • Django:功能全面,适合企业级应用
  • • Flask:轻量级,适合快速开发

🔸 数据分析

推荐库:Pandas、NumPy、Matplotlib

  • • Pandas:数据处理神器
  • • NumPy:科学计算基础
  • • Matplotlib:数据可视化

🔸 人工智能

推荐库:TensorFlow、PyTorch

  • • PyTorch:学术研究首选
  • • TensorFlow:工业应用广泛

🔸 自动化办公

推荐库:openpyxl、python-docx、pyautogui

  • • 自动处理Excel、Word文档
  • • 自动化鼠标键盘操作

学习资源推荐

📚 免费教程

  • • Python官方文档:docs.python.org
  • • 菜鸟教程:runoob.com/python3
  • • 小甲鱼Python课程(🐟)

💻 练习平台

  • • LeetCode:算法练习
  • • HackerRank:多种编程练习
  • • 牛客网:面试求职

📖 书籍

  • • 《Python编程:从入门到实践》
  • • 《Python核心编程》
  • • 《Effective Python》

总结

今天我们一起梳理了完整的Python学习路线:

阶段
内容
时间
第一阶段
入门准备:环境搭建、第一个程序
1-2周
第二阶段
Python基础:语法、数据类型、函数
3-4周
第三阶段
进阶技能:面向对象、异常处理、模块
4-6周
第四阶段
实战项目:5个小项目练手
2-4周
第五阶段
方向选择:Web/数据分析/AI/自动化
持续学习

💡 记住:编程最重要的是动手!

别只是收藏这篇教程就完事了——现在就打开电脑,敲下第一行代码。

你不需要很厉害才能开始,但你需要开始才能很厉害。


⭐ 下期预告

下期我们将带来 《5个让代码变有趣的Python小项目》,手把手教你做出有趣又实用的小程序!敬请期待~


看到这里,说明你真的想学Python!

👍 点个赞支持小甲鱼⭐ 收藏起来慢慢学🐟 关注我不迷路

我们下期见!🦾


🐢 我是小甲鱼,陪你一起学Python!

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-03-27 19:57:01 HTTP/2.0 GET : https://f.mffb.com.cn/a/479339.html
  2. 运行时间 : 0.208567s [ 吞吐率:4.79req/s ] 内存消耗:5,008.03kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=dbf80554de068bb21879fe749abbc277
  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.001120s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001996s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000673s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.001485s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001434s ]
  6. SELECT * FROM `set` [ RunTime:0.001474s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001568s ]
  8. SELECT * FROM `article` WHERE `id` = 479339 LIMIT 1 [ RunTime:0.001140s ]
  9. UPDATE `article` SET `lasttime` = 1774612622 WHERE `id` = 479339 [ RunTime:0.012236s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000553s ]
  11. SELECT * FROM `article` WHERE `id` < 479339 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001880s ]
  12. SELECT * FROM `article` WHERE `id` > 479339 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000893s ]
  13. SELECT * FROM `article` WHERE `id` < 479339 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.008001s ]
  14. SELECT * FROM `article` WHERE `id` < 479339 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.006230s ]
  15. SELECT * FROM `article` WHERE `id` < 479339 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.011502s ]
0.211606s