05 2024 档案
摘要:import os import shutil def get_user_input(): big_address = input("请输入大地址: ") move_path = input("请输入移动路径: ") return big_address, move_path def move_in
阅读全文
摘要:import os import shutil from openpyxl import load_workbook def create_txt_in_subfolder(subfolder_path, content): txt_filename = os.path.basename(subfo
阅读全文
摘要:import os import tkinter as tk from tkinter import simpledialog, messagebox from PIL import Image, ImageTk class ImageViewer(tk.Tk): def __init__(self
阅读全文
摘要:批量重命名 import os import re import shutil def replace_double_underscore(folder_path): for root, dirs, files in os.walk(folder_path): for filename in fil
阅读全文
摘要:新的detail_1:(加上返回按钮) <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale
阅读全文
摘要:C文件夹布局 网页存放/ │ ├── app.py # Flask 应用 ├── templates/ # 存放 HTML 文件 │ ├── index.html # 主页 │ └── detail.html # 详情页 ├── static/ │ ├── css/ │ │ └── styles.c
阅读全文
摘要:python后端代码 from flask import Flask, render_template, request, jsonify, send_from_directory, url_for import os import requests import base64 from PIL i
阅读全文
摘要:<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>建筑效果图转
阅读全文
摘要:HTML代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Im
阅读全文
摘要:PYTHON from flask import Flask, render_template, request, jsonify, send_from_directory import os import requests import base64 from PIL import Image i
阅读全文
摘要:"C:\Users\wujie1\Desktop\程序测试\templates\upload.html" "C:\Users\wujie1\Desktop\程序测试\python.py" C:\Users\wujie1\Desktop\程序测试\uploads python from flask i
阅读全文
摘要:python: from flask import Flask, render_template, request, jsonify import requests import base64 import os from PIL import Image import io import logg
阅读全文
摘要:python版本 from flask import Flask, render_template, request, jsonify import requests import base64 import os from PIL import Image import io import log
阅读全文