diff --git a/Tools/T1_GetYunNanAreaDict.py b/Tools/Check/T1_GetYunNanAreaDict.py similarity index 81% rename from Tools/T1_GetYunNanAreaDict.py rename to Tools/Check/T1_GetYunNanAreaDict.py index 9bba787..95fc648 100644 --- a/Tools/T1_GetYunNanAreaDict.py +++ b/Tools/Check/T1_GetYunNanAreaDict.py @@ -1,6 +1,6 @@ # 读取 Dict 目录下 ChinaCitys2025.json import json -with open(r'D:\dsWork\YunNanProject\Dict\ChinaCitys2025.json', 'r', encoding='utf-8') as f: +with open(r'/Dict/ChinaCitys2025.json', 'r', encoding='utf-8') as f: data = json.load(f) # 筛选云南省数据并格式化输出 try: @@ -16,7 +16,7 @@ with open(r'D:\dsWork\YunNanProject\Dict\ChinaCitys2025.json', 'r', encoding='ut # 格式化输出 print(json.dumps(yunnan_data, ensure_ascii=False, indent=4)) - with open('../Dict/云南省行政区划数据.json', 'w', encoding='utf-8') as outfile: + with open('../../Dict/云南省行政区划数据.json', 'w', encoding='utf-8') as outfile: json.dump(yunnan_data, outfile, ensure_ascii=False, indent=4) print("\n数据已保存至:云南省行政区划数据.json") diff --git a/Tools/T2_TestAreaNameMatch.py b/Tools/Check/T2_TestAreaNameMatch.py similarity index 100% rename from Tools/T2_TestAreaNameMatch.py rename to Tools/Check/T2_TestAreaNameMatch.py diff --git a/Tools/T3_CheckExcel.py b/Tools/Check/T3_CheckExcel.py similarity index 100% rename from Tools/T3_CheckExcel.py rename to Tools/Check/T3_CheckExcel.py diff --git a/Tools/Check/__init__.py b/Tools/Check/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/Tools/prompt1.txt b/Tools/Prompt/prompt1.txt similarity index 100% rename from Tools/prompt1.txt rename to Tools/Prompt/prompt1.txt diff --git a/Tools/prompt2.txt b/Tools/Prompt/prompt2.txt similarity index 100% rename from Tools/prompt2.txt rename to Tools/Prompt/prompt2.txt diff --git a/Tools/T4_1_RenKou.py b/Tools/T1_RenKou.py similarity index 100% rename from Tools/T4_1_RenKou.py rename to Tools/T1_RenKou.py diff --git a/Tools/T4_2_MaoRuXueLv.py b/Tools/T2_MaoRuXueLv.py similarity index 100% rename from Tools/T4_2_MaoRuXueLv.py rename to Tools/T2_MaoRuXueLv.py diff --git a/Tools/T4_3_SchoolCount.py b/Tools/T3_SchoolCount.py similarity index 100% rename from Tools/T4_3_SchoolCount.py rename to Tools/T3_SchoolCount.py diff --git a/Tools/T4_4_ClassCount.py b/Tools/T4_ClassCount.py similarity index 100% rename from Tools/T4_4_ClassCount.py rename to Tools/T4_ClassCount.py diff --git a/Tools/T4_5_ZhaoShengCount.py b/Tools/T5_ZhaoShengCount.py similarity index 100% rename from Tools/T4_5_ZhaoShengCount.py rename to Tools/T5_ZhaoShengCount.py diff --git a/Tools/T4_6_ZaiXiaoShengCount.py b/Tools/T6_ZaiXiaoShengCount.py similarity index 100% rename from Tools/T4_6_ZaiXiaoShengCount.py rename to Tools/T6_ZaiXiaoShengCount.py diff --git a/Tools/T4_7_TeacherCount.py b/Tools/T7_TeacherCount.py similarity index 100% rename from Tools/T4_7_TeacherCount.py rename to Tools/T7_TeacherCount.py diff --git a/Tools/T4_8_SchoolMianJi.py b/Tools/T8_SchoolMianJi.py similarity index 100% rename from Tools/T4_8_SchoolMianJi.py rename to Tools/T8_SchoolMianJi.py