Files
douyi_guaji_main/operations/__init__.py
T
Your Name 0b5f150691 Refactor and clean up code across multiple scripts
- Removed trailing whitespace and ensured files end with a single newline in cleanup_unused_files.py.
- Added fix_trailing_whitespace.py to batch remove trailing whitespace from Python files.
- Updated install_dependencies.py to improve dependency installation prompts.
- Cleaned up pick_coords.py by removing unnecessary whitespace and improving code readability.
- Enhanced region_selector.py by disabling specific pylint checks for better compatibility with third-party libraries.
- Improved WPS流程图生成工具.py by cleaning up whitespace and enhancing readability.
- Updated __init__.py in typings to remove unnecessary lines.
- Modified app.js to adjust default configuration values and clean up unused code.
2026-01-02 23:57:03 +08:00

46 lines
963 B
Python

"""底层操作模块
本目录包含从 Underlying_Operations.py 模块化后的操作模块。
"""
# 从子模块导入
from .ocr_operations import (
analyse_pic_word,
analyse_pic_digits,
extract_ocr_content,
_ensure_ocr,
)
from .screenshot_operations import (
get_screenshot,
_find_pic_path,
cut_pic,
save_reward_pic,
)
# 从原文件导入以保持向后兼容
# TODO: 逐步迁移后改为从子模块导入
from Underlying_Operations import (
_safe_replace_file,
_ensure_parent_dir,
_mirror_screenshot_to_external,
underlying_operations,
)
__all__ = [
# OCR相关
"analyse_pic_word",
"analyse_pic_digits",
"extract_ocr_content",
"_ensure_ocr",
# 截图相关
"get_screenshot",
"_find_pic_path",
"cut_pic",
"save_reward_pic",
# 其他操作
"_safe_replace_file",
"_ensure_parent_dir",
"_mirror_screenshot_to_external",
"underlying_operations",
]