A Google search on make a directory in Python returns 113 million (literary) hits in < 1 second. Please try a few of those.