def makedirs(path):
if not path_is_remote(path):<EOL><INDENT>try:<EOL><INDENT>os.makedirs(path)<EOL><DEDENT>except OSError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Silently create all subdirectories of path if path is local.

Parameters:
-----------
path : path