谷歌colab解压缩包到指定文件夹

解压rar

!pip install pyunpack
!pip install patool
from pyunpack import Archive
Archive('/content/drive/My Drive/NTS_Net.rar').extractall('/content/Keras-NTS-Net')

解压zip

!unzip '/content/drive/My Drive/NTS_Net.rar' '/content/Keras-NTS-Net'
posted @ 2020-09-20 15:45  GShang  阅读(1393)  评论(0编辑  收藏  举报