Spaces:
Build error
Build error
| import zipfile | |
| import os | |
| # ุงุณู ู ูู ุงูู zip | |
| zip_file_path = "defaults.zip" # ุบูุฑ "your_file.zip" ูุงุณู ุงูู ูู ุงููู ุฑูุนุชู | |
| # ู ุณุงุฑ ุฌุฏูุฏ ููู ุงูู ููุงุช ููู | |
| extract_path = "./output" # ููุนู ู ู ุฌูุฏ ุงุณู ู "output" ูู ุงูู ุดุฑูุน | |
| # ุงุชุฃูุฏ ุฅู ุงูู ุฌูุฏ ู ูุฌูุฏุ ููู ู ุด ู ูุฌูุฏ ููุนู ูู | |
| os.makedirs(extract_path, exist_ok=True) | |
| # ูู ุถุบุท ุงูู ูู ูู ุงูู ุฌูุฏ ุงูู ุญุฏุฏ | |
| with zipfile.ZipFile(zip_file_path, 'r') as zip_ref: | |
| zip_ref.extractall(extract_path) | |
| print("ุชู ูู ุงูุถุบุท ูู ู ุฌูุฏ 'output'!") | |