Functions-d 1.35__tar.gz → 1.36__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.35 → functions_d-1.36}/Functions_d/Functions_d.py +3 -1
- {functions_d-1.35 → functions_d-1.36}/Functions_d.egg-info/PKG-INFO +1 -1
- {functions_d-1.35 → functions_d-1.36}/PKG-INFO +1 -1
- {functions_d-1.35 → functions_d-1.36}/setup.cfg +1 -1
- {functions_d-1.35 → functions_d-1.36}/Functions_d/__init__.py +0 -0
- {functions_d-1.35 → functions_d-1.36}/Functions_d.egg-info/SOURCES.txt +0 -0
- {functions_d-1.35 → functions_d-1.36}/Functions_d.egg-info/dependency_links.txt +0 -0
- {functions_d-1.35 → functions_d-1.36}/Functions_d.egg-info/requires.txt +0 -0
- {functions_d-1.35 → functions_d-1.36}/Functions_d.egg-info/top_level.txt +0 -0
- {functions_d-1.35 → functions_d-1.36}/README.md +0 -0
- {functions_d-1.35 → functions_d-1.36}/pyproject.toml +0 -0
- {functions_d-1.35 → functions_d-1.36}/setup.py +0 -0
|
@@ -138,6 +138,8 @@ class DataProcessingAndMessaging:
|
|
|
138
138
|
# -------------------------- 脚本路径和文件名初始化 --------------------------
|
|
139
139
|
def Start_Get_filepath_and_filename(self):
|
|
140
140
|
self.start_time = time.time()
|
|
141
|
+
# ========== 新增:运行开始时追加10行空行分隔 ==========
|
|
142
|
+
self.logger.info('\n' * 5)
|
|
141
143
|
caller_frame = inspect.stack()[1]
|
|
142
144
|
self.current_script_name = caller_frame.filename
|
|
143
145
|
self.log_filename = os.path.splitext(self.current_script_name)[0] + ".log"
|
|
@@ -156,7 +158,7 @@ class DataProcessingAndMessaging:
|
|
|
156
158
|
elapsed_time = round(end_time - self.start_time, 0)
|
|
157
159
|
print(f"运行时间:{elapsed_time} 秒")
|
|
158
160
|
self.logger.info(f"运行时间:{elapsed_time} 秒")
|
|
159
|
-
self.logger.info('\n' * 10)
|
|
161
|
+
# self.logger.info('\n' * 10)
|
|
160
162
|
|
|
161
163
|
# -------------------------- 企业微信消息发送 --------------------------
|
|
162
164
|
# 仅展示修改后的 uxin_wx 方法,其余代码不变
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|