Skip to content

Instantly share code, notes, and snippets.

@terryp
Created August 24, 2018 20:51
Show Gist options
  • Save terryp/f877e457959b70ea63a739a0d83220b7 to your computer and use it in GitHub Desktop.
Save terryp/f877e457959b70ea63a739a0d83220b7 to your computer and use it in GitHub Desktop.
import csv
import os
with open("./test.csv") as file:
data = file.readlines()
for line in data:
line = line.strip()
os.mkdir(line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment