chore: Clean up blank lines across multiple files to enhance readability
- Removed excessive blank lines in various Python scripts, markdown files, and configuration files to improve overall code clarity and maintainability. - Ensured consistent formatting throughout the project, contributing to a more organized codebase.
This commit is contained in:
1 parent
ace3bbfa04
commit
07c387751d
62 files changed
+2432
-1734
No files matched your search
+35
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
# 查找目标文件
|
||||
target_dir = "pic/debug_captures/2025-12-31"
|
||||
if os.path.exists(target_dir):
|
||||
files = os.listdir(target_dir)
|
||||
# 查找包含关键字的文件
|
||||
target_file = None
|
||||
for f in files:
|
||||
if "152118" in f and "福袋倒计时_分钟" in f and "识别后" in f and "390,1110" in f:
|
||||
target_file = f
|
||||
break
|
||||
|
||||
if target_file:
|
||||
full_path = os.path.join(target_dir, target_file)
|
||||
print(f"找到文件: {target_file}")
|
||||
print(f"完整路径: {full_path}")
|
||||
print("\n开始运行测试...\n")
|
||||
|
||||
# 运行测试脚本
|
||||
cmd = [sys.executable, "test_real_parallel_ocr.py", full_path]
|
||||
subprocess.run(cmd, encoding='utf-8')
|
||||
else:
|
||||
print("未找到目标文件")
|
||||
print("可用文件列表(前10个):")
|
||||
for f in files[:10]:
|
||||
if "152118" in f:
|
||||
print(f" {f}")
|
||||
else:
|
||||
print(f"目录不存在: {target_dir}")
|
||||
|
||||
Reference in new issue
Block a user