win32file.CreateDirectoryEx

CreateDirectoryEx(templateName, newDirectory, sa)

Creates a directory

Parameters

templateName : PyUnicode

Specifies the path of the directory to use as a template when creating the new directory.

newDirectory : PyUnicode

Specifies the name of the new directory

sa : PySECURITY_ATTRIBUTES

The security attributes, or None