Apr-26-2020, 10:44 AM
Hi!
Trying to create three different sub-folders named: "raw" "right" and "left" in one folder named from a txt file. I succeeded to make one sub-folder, "raw" in each.
Thanks in advance!
Trying to create three different sub-folders named: "raw" "right" and "left" in one folder named from a txt file. I succeeded to make one sub-folder, "raw" in each.
import os path = '/raw' with open('regina.txt') as x: for line in x: line = line.strip() os.makedirs(line + path)Would appreciate tips on how to think/ solve this.

Thanks in advance!