yawgmoth7 wrote:
> And so on. That is not very practical, and I wish to change it. I was
> wondering if there were any other methods to which I could do this, I
> was thinking maybe I could put the dir names in a dictionary then have
> something like:
> os.mkdir(thedictname)

Why not use a loop?

dirs = ['ASM', 'C', 'Python']

for dir in dirs:
    os.mkdir(dir)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to