code: def save(self, vs, filetype):
          'Copy rows to the system clipboard.'
  
          # use NTF to generate filename and delete file on context exit
          with tempfile.NamedTemporaryFile(suffix='.'+filetype) as temp:
              saveSheets(temp.name, vs)
              sync(1)
              p = subprocess.Popen(
                  self.command,
                  stdin=open(temp.name, 'r', encoding=options.encoding),
                  stdout=subprocess.DEVNULL,
                  close_fds=True)
              p.communicate(f save(self, vs, filetype):
          'Copy rows to the system clipboard.'
  
          # use NTF to generate filename and delete file on context exit
          with tempfile.NamedTemporaryFile(suffix='.'+filetype) as temp:
              saveSheets(temp.name, vs)
              sync(1)
              p = subprocess.Popen(
                  self.command,
                  stdin=open(temp.name, 'r', encoding=options.encoding),
                  stdout=subprocess.DEVNULL,
                  close_fds=True)
              p.communicate()
docs: Copy rows to the system clipboard.