Spaces:
Sleeping
Sleeping
File size: 381 Bytes
afd0a81 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
"""
ํ์ผ ๊ธฐ๋ณธ ์ฒ๋ฆฌ ์ ํธ๋ฆฌํฐ
"""
import os
from typing import Dict, Any
def ensure_directory_exists(dir_path: str) -> None:
"""
๋๋ ํ ๋ฆฌ๊ฐ ์์ผ๋ฉด ์์ฑ
Args:
dir_path: ์์ฑํ ๋๋ ํ ๋ฆฌ ๊ฒฝ๋ก
"""
if not os.path.exists(dir_path):
os.makedirs(dir_path)
print(f"๋๋ ํ ๋ฆฌ ์์ฑ: {dir_path}") |