Colab 谷歌云盘解压rar zip文件到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'
感谢:
https://stackoverflow.com/questions/50315989/how-to-extract-rar-files-inside-google-colab