Hi again,
I'm new to Python and am trying to write a script for work. We have over 3,000 directories that need to have a new directory added on the first level of that directory. Some of the directories already have the new directory however and there needs to be a check to make sure it doesn't already exist. I tried using os.path.walk() but it seems to run recursively (some of the vendor directories have sub-directories). I also tried os.walk() but had some issues there as well. Here is what I'm working with right now:

Code:
import os

mainDir = '/home/user/scripttest'

for vendors in os.listdir(mainDir):
        for dirss in os.listdir(mainDir + '/' + vendors):
                if not os.listdir(mainDir + '/' + vendors + '/' +dirss) == 'Feedback':
                        os.mkdir(mainDir + '/' + vendors + '/Feedback')
This code performs correctly on the first directory, but does not move on to the next directory in the mainDir folder. When I run it a second time, it breaks saying that the Feedback directory already exists. I'm sure this is probably crap code and I'm reinventing the wheel, so I'm hoping that someone out there is a wheel enthusiast and can show me the way.