摘要: 在人工智能(AI)领域,Python 是最常用的编程语言之一,因其简洁的语法、丰富的库(如 TensorFlow、PyTorch、Scikit-learn 等)和活跃的社区而广受欢迎。以下是一些经典的 Python 与人工智能相关的书籍,涵盖从入门到进阶的不同层次,适合不同学习目标的读者: ### 阅读全文
posted @ 2025-05-11 20:55 zqxLonely 阅读(12) 评论(0) 推荐(0)
摘要: 以下是几本适合学习 Python `ttk`(基于 Tkinter 的主题化 GUI 工具包)编程的经典书籍推荐,按学习阶段和需求分类: ### **1. 入门级:适合零基础或新手** #### **《Tkinter GUI Programming By Example》** - **作者**:Da 阅读全文
posted @ 2025-05-06 11:40 zqxLonely 阅读(22) 评论(0) 推荐(0)
摘要: 以下是针对不同学习阶段和需求的 Python 书籍推荐,分为**入门**、**进阶**、**领域专项**和**经典工具书**四类,并附上学习建议: ### **一、入门级(零基础/新手)** 1. **《Python编程:从入门到实践》(第2版)** - 适合人群:零基础新手 - 特点:理论与实战结 阅读全文
posted @ 2025-05-04 21:37 zqxLonely 阅读(41) 评论(0) 推荐(0)
摘要: 1、第一步下载pyinstaller,执行:pip install pyinstaller 2、第二步打包,执行:pyinstaller --onefile --noconsole main.py 阅读全文
posted @ 2025-04-21 16:07 zqxLonely 阅读(5) 评论(0) 推荐(0)
摘要: wb = openpyxl.load_workbook(file_path) sheet = wb["Sheet1"] value = sheet.cell(row=row, column=column).value 阅读全文
posted @ 2025-04-08 10:32 zqxLonely 阅读(6) 评论(0) 推荐(0)
摘要: import pandas as pd # 创建一个DataFrame data = { 'Name': ['John', 'Anna', 'Peter', 'Linda'], 'Age': [28, 34, 29, 32], 'City': ['New York', 'Paris', 'Berli 阅读全文
posted @ 2025-04-07 19:28 zqxLonely 阅读(16) 评论(0) 推荐(0)
摘要: from sqlalchemy import create_engine, Column, Integer, Text, String, DATETIME from sqlalchemy.orm import sessionmaker, declarative_base url = 'mysql+p 阅读全文
posted @ 2025-04-03 02:24 zqxLonely 阅读(15) 评论(0) 推荐(0)
摘要: logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', datefmt='%Y-%m-%d %H:%M:%S', stream=sys.stdout 阅读全文
posted @ 2025-04-03 02:23 zqxLonely 阅读(7) 评论(0) 推荐(0)
摘要: HTTPSConnectionPool(host='www.broadwayawards.info', port=443): Max retries exceeded with url: /ws/ws.dll/PrDtl?UID=3052&SPC=hivai-oufky (Caused by SSL 阅读全文
posted @ 2025-03-27 19:10 zqxLonely 阅读(56) 评论(0) 推荐(0)
摘要: import pymysql host='localhost' user='root' password='' database='anjuke' cursorclass=pymysql.cursors.DictCursor def select_count(sql): #连接数据库 connect 阅读全文
posted @ 2025-03-26 16:25 zqxLonely 阅读(7) 评论(0) 推荐(0)