파일을 업로드하는 방식보다 시간이 90% 이상 절약된다.
from zipfile import ZipFile
with ZipFile('/content/drive/MyDrive/압축 파일 경로/압축 파일 이름.zip') as ta:
ta.extractall('/content/drive/MyDrive/저장할 경로/새로운 이름')
'기타' 카테고리의 다른 글
The Insanity of Relying on Vector Embeddings: Why RAG Fails (0) | 2025.01.22 |
---|---|
Webstorm Plugin (0) | 2023.08.18 |
코랩(colab) 끊김 방지 (0) | 2023.01.24 |