From 73a05513ffaac43e440734aa8fffeea953563741 Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期四, 17 九月 2026 14:14:44 +0800
Subject: [PATCH] chore(投资):入库用户整理后的输入/模板/输出文件 + 回填口径确认(用户 2026-09-17 答复)
---
docs/投资/工具/格式探测.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git "a/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\346\240\274\345\274\217\346\216\242\346\265\213.py" "b/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\346\240\274\345\274\217\346\216\242\346\265\213.py"
index f15de1c..1f2cac8 100644
--- "a/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\346\240\274\345\274\217\346\216\242\346\265\213.py"
+++ "b/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\346\240\274\345\274\217\346\216\242\346\265\213.py"
@@ -107,7 +107,10 @@
def open_sheets(path):
- """杩斿洖 [(sheet_name, nrows, ncols, cell_fn), ...]锛�.et 璇锋敼鐢� Excel COM銆�"""
+ """杩斿洖 [(sheet_name, nrows, ncols, cell_fn), ...]銆�
+
+ 娉ㄦ剰锛歚.et`锛圵PS锛夊疄涓� OLE2/BIFF8 澶嶅悎鏂囨。锛寈lrd 鍙洿鎺ヨ锛屼笉蹇呰蛋 Excel COM銆�
+ """
with open(path, 'rb') as fh:
magic = fh.read(4)
if magic[:4] == b'PK\x03\x04':
--
Gitblit v1.9.1