(self)
return self.letter + b':\\' + b'\\'.join(dir_elems)
Return the current working directory in DOS format.
Return the current working directory in DOS format.
Return the current working directory in DOS format .
def get_cwd(self):
        """Return the current working directory in DOS format."""
        native_path = self._native_root
        dir_elems = []
        if self._native_cwd:
            for e in self._native_cwd.split(os.sep):
                dir_elems.append(self._get_dos_display_name(native_path, e))
                native_path += os.sep + e
        return self.letter + b':\\' + b'\\'.join(dir_elems)
def get_cwd ( self ) : native_path = self . _native_root dir_elems = [ ] if self . _native_cwd : for e in self . _native_cwd . split ( os . sep ) : dir_elems . append ( self . _get_dos_display_name ( native_path , e ) ) native_path += os . sep + e return self . letter + b':\\' + b'\\' . join ( dir_elems )