Creating Directories

I’m confused as to how to do this,
I tried doing this as it made sense but i keep getting the catch blocks message

train = os.makedirs(“train”)
test = os.makedirs(“test”)
Cat = os.makedirs(“Cat”)
Dog = os.makedirs(“Dog”)
Cat1 = os.makedirs(“Cat”)
Dog1 = os.makedirs(“Dog”)
trainC = os.path.join(train,‘Cat’)
trainD = os.path.join(train,‘Dog’)
testC = os.path.join(test,Dog1)
testD = os.path.join(test,Cat1)
root_train = os.path.join(root_path,train)
root_test = os.path.join(root_path,test)

Please read this. Do note that this specialization assumes working knowledge of python.

Thank you, i figured it out now