def make_directory(path):
 if (not path.isdir()):
  path.makedirs()
 return path

def make_directory ( path ) : if ( not path . isdir ( ) ) : path . makedirs ( ) return path
create a directory at path .