code: def delete_script(self, script_id):
          
          res = yield from self._pigpio_aio_command(_PI_CMD_PROCD, script_id, 0)
          return _u2i(res)
docs: Deletes a stored script.
  
          script_id:= id of stored script.
  
          ...
          status = pi.delete_script(sid)
          ...