Files
playwrite/main.py
Misaka_Company 2ca53f6a55 style: normalize code formatting across the codebase
- Standardize quote style (single to double quotes)
- Improve code formatting consistency
- Apply formatting to utilities, GUI components, and tools
- Update imports and docstrings for consistency

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-05 14:56:35 +08:00

28 lines
669 B
Python

"""
主程序 - 使用离散备料计划维护数据提取工具
"""
import os
from utils.离散备料计划维护数据提取 import DiscreteMaterialPlanExtractor
def main():
# 创建提取器
extractor = DiscreteMaterialPlanExtractor(
username="BLDpengqiangqiang",
password="Cqbld123456.",
headless=True,
verbose=True,
)
# 设置文件路径
order_id_file = os.path.join(os.path.dirname(__file__), "ProductionID.txt")
output_file = r"D:/python/playwrite/data/离散备料计划维护_合并.xlsx"
# 执行提取
extractor.extract(order_id_file, output_file)
if __name__ == "__main__":
main()