code: def create_ar (archive, compression, cmd, verbosity, interactive, filenames):
      
      opts = 'rc'
      if verbosity > 1:
          opts += 'v'
      cmdlist = [cmd, opts, archive]
      cmdlist.extend(filenames)
      return cmdlist
docs: Create a AR archive.