|
@@ -80,7 +80,7 @@ def agg_word(path: str):
|
|
|
return
|
|
return
|
|
|
|
|
|
|
|
# 创建分析结果文件夹路径
|
|
# 创建分析结果文件夹路径
|
|
|
- data_path = os.path.join(path[0:path.rindex("\\") + 1] if os.path.isfile(path) else path,
|
|
|
|
|
|
|
+ data_path = os.path.join(path[0:path.rindex("/") + 1] if os.path.isfile(path) else path,
|
|
|
WORD_AGG_DIR % time.strftime('%Y%m%d%H%M%S'))
|
|
WORD_AGG_DIR % time.strftime('%Y%m%d%H%M%S'))
|
|
|
os.makedirs(data_path)
|
|
os.makedirs(data_path)
|
|
|
print("创建聚合分析结果文件夹,路径:" + data_path)
|
|
print("创建聚合分析结果文件夹,路径:" + data_path)
|