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