Python os.mkdir() Method
The os.mkdir() method creates a new directory.
Syntax
os.mkdir(path)
Return Value
None.
Example
Output
Click Run to execute your code