Created folder using Python

Os module provides the utility to create folders.

import os
os.mkdir('folder', 0o755)

Where 'folder' is the name of the folder that need to be created and '755' is its permission.

 

Leave a Reply

Your email address will not be published. Required fields are marked *