463b952
1
2
3
4
5
6
7
import subprocess import glob if __name__ == "__main__": for dataset in glob.glob("*.zip"): dir_name = dataset.split(".")[0] subprocess.call(['unzip', '-o', dataset, '-d', dir_name])