Last active
July 31, 2020 13:00
-
-
Save richardcsuwandi/88281f8a006290e947483b8a8103fca4 to your computer and use it in GitHub Desktop.
Download and verify images from csv files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path = Path('<path>') | |
for file, folder in [('caoshu.csv', 'caoshu'), ('kaishu.csv', 'kaishu'), | |
('lishu.csv', 'lishu'), ('zhuanshu.csv', 'zhuanshu')]: | |
dest = path/folder # path + '/' + folder | |
dest.mkdir(parents=True, exist_ok=True) | |
download_images(path/file, dest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment