Web Analytics

Python os.mkdir() Method

OS & Systemโ€ขDirectory

The os.mkdir() method creates a new directory.

Syntax

os.mkdir(path)

Return Value

None.

Example

Output
Click Run to execute your code