<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def webcam_attach(self, path, settings):
 """Attaches the emulated USB webcam to the VM, which will use a host video capture device. in path of type str The host path of the capture device to use. in settings of type str Optional settings. """

        if not isinstance(path, basestring):
            raise TypeError("path can only be an instance of type basestring")
        if not isinstance(settings, basestring):
            raise TypeError("settings can only be an instance of type basestring")
        self._call("webcamAttach",
                     in_p=[path, settings])