import os

def createFolder(dirname):
    try:
        if not os.path.exists(dirname):
            os.makedirs(dirname)
    except OSError:
        print ('Error: Creating directory. ' +  dirname)
        

# Example
createFolder('./data/')
# Creates a folder in the current directory called data

b52a8f3b8c6c0d29be110927172e5b99ab4c4b97
<mask token>

<mask token>


def createFolder(dirname):
    try:
        if not os.path.exists(dirname):
            os.makedirs(dirname)
    except OSError:
        print('Error: Creating directory. ' + dirname)


<mask token>

<mask token>


def createFolder(dirname):
    try:
        if not os.path.exists(dirname):
            os.makedirs(dirname)
    except OSError:
        print('Error: Creating directory. ' + dirname)


createFolder('./data/')

import os


def createFolder(dirname):
    try:
        if not os.path.exists(dirname):
            os.makedirs(dirname)
    except OSError:
        print('Error: Creating directory. ' + dirname)


createFolder('./data/')

import os

def createFolder(dirname):
    try:
        if not os.path.exists(dirname):
            os.makedirs(dirname)
    except OSError:
        print ('Error: Creating directory. ' +  dirname)
        

# Example
createFolder('./data/')
# Creates a folder in the current directory called data
