04 2025 档案

摘要:1、第一步下载pyinstaller,执行:pip install pyinstaller 2、第二步打包,执行:pyinstaller --onefile --noconsole main.py 阅读全文
posted @ 2025-04-21 16:07 zqxLonely 阅读(13) 评论(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 阅读(11) 评论(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 阅读(26) 评论(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 阅读(21) 评论(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 阅读(17) 评论(0) 推荐(0)