code: def mkdir_p(*args, **kwargs):
      
      try:
          return os.mkdir(*args, **kwargs)
      except OSError as exc:
          if exc.errno != errno.EEXIST:
              raise
docs: Like `mkdir`, but does not raise an exception if the
      directory already exists.