lscsc/Process_dash_pub
0
1
2import os
3import shutil
4
5def organize_files():
6 """파일 정리 및 이동"""
7 # 백업 디렉토리의 파일들을 적절한 위치로 이동
8 backup_files = {
9 "app.py": "./",
10 "quality_dashboard.py": "./",
11 "changes_documentation.md": "docs/",
12 "optimization_report.md": "docs/"
13 }
14
15 for src, dest in backup_files.items():
16 if os.path.exists(f"backup/{src}"):
17 os.makedirs(dest, exist_ok=True)
18 shutil.move(f"backup/{src}", f"{dest}/{src}")
19 print(f"Moved {src} to {dest}")
20
21if __name__ == "__main__":
22 organize_files()
23 