code: def export_to(self, appliance, location):
          
          if not isinstance(appliance, IAppliance):
              raise TypeError("appliance can only be an instance of type IAppliance")
          if not isinstance(location, basestring):
              raise TypeError("location can only be an instance of type basestring")
          description = self._call("exportTo",
                       in_p=[appliance, location])
          description = IVirtualSystemDescription(description)
          return description
docs: Exports the machine to an OVF appliance. See :py:class:`IAppliance`  for the
          steps required to export VirtualBox machines to OVF.
  
          in appliance of type :class:`IAppliance`
              Appliance to export this machine to.
  
          in location of type str
              The target location.
  
          return description of type :class:`IVirtualSystemDescription`
              VirtualSystemDescription object which is created for this machine.