Functions-d 1.2.2__tar.gz → 1.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {functions_d-1.2.2 → functions_d-1.2.4}/Functions_d/Functions_d.py +5 -3
- {functions_d-1.2.2 → functions_d-1.2.4}/Functions_d.egg-info/PKG-INFO +1 -1
- {functions_d-1.2.2 → functions_d-1.2.4}/PKG-INFO +1 -1
- {functions_d-1.2.2 → functions_d-1.2.4}/setup.cfg +1 -1
- {functions_d-1.2.2 → functions_d-1.2.4}/Functions_d/__init__.py +0 -0
- {functions_d-1.2.2 → functions_d-1.2.4}/Functions_d.egg-info/SOURCES.txt +0 -0
- {functions_d-1.2.2 → functions_d-1.2.4}/Functions_d.egg-info/dependency_links.txt +0 -0
- {functions_d-1.2.2 → functions_d-1.2.4}/Functions_d.egg-info/requires.txt +0 -0
- {functions_d-1.2.2 → functions_d-1.2.4}/Functions_d.egg-info/top_level.txt +0 -0
- {functions_d-1.2.2 → functions_d-1.2.4}/README.md +0 -0
- {functions_d-1.2.2 → functions_d-1.2.4}/pyproject.toml +0 -0
- {functions_d-1.2.2 → functions_d-1.2.4}/setup.py +0 -0
|
@@ -798,7 +798,7 @@ class DataProcessingAndMessaging:
|
|
|
798
798
|
worksheet.write(row, col, value, data_format)
|
|
799
799
|
|
|
800
800
|
worksheet.freeze_panes(1, 0)
|
|
801
|
-
worksheet.autofilter(0, 0, max_row, max_col)
|
|
801
|
+
worksheet.autofilter(0, 0, max_row, max_col - 1) # 修正:结束列=max_col-1(比如2)
|
|
802
802
|
|
|
803
803
|
# -------------------------- 导出DataFrame到Excel --------------------------
|
|
804
804
|
def export_df_to_excel(self, df_list, sheet_names, file_path):
|
|
@@ -938,8 +938,9 @@ class DataProcessingAndMessaging:
|
|
|
938
938
|
self._wechat_doc_log(error_msg)
|
|
939
939
|
raise Exception(error_msg)
|
|
940
940
|
docid = result.get("docid")
|
|
941
|
-
self._wechat_doc_log(f"
|
|
942
|
-
|
|
941
|
+
self._wechat_doc_log(f"智能表格:{sheet_name} 创建成功,docid={docid}")
|
|
942
|
+
print(f"智能表格:{sheet_name} 创建成功,docid={docid}")
|
|
943
|
+
return {"智能表格": sheet_name, "docid": docid, "url": result.get("url")}
|
|
943
944
|
except Exception as e:
|
|
944
945
|
self._wechat_doc_log(f"创建异常: {str(e)}")
|
|
945
946
|
raise
|
|
@@ -1119,6 +1120,7 @@ class DataProcessingAndMessaging:
|
|
|
1119
1120
|
raise Exception(error_msg)
|
|
1120
1121
|
|
|
1121
1122
|
self._wechat_doc_log(f"文档删除成功:docid={docid}")
|
|
1123
|
+
print(f"文档删除成功:docid={docid}")
|
|
1122
1124
|
return True
|
|
1123
1125
|
|
|
1124
1126
|
# -------------------------- 辅助方法:检查文件是否被占用 --------------------------
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|