(self, path, defext, isdir, create)
return os.path.abspath(path)
\
            Find os-native path to match the given BASIC path; apply default extension.
            path: bytes             requested DOS path to file on this device
            defext: bytes           default extension, to apply if no dot in basename
            create: bool            allow creating a new name for the proposed DOS name
                                    if not, throw if matched basename does not exist
            isdir: bool             basename should refer to a directory
\
            Find os-native path to match the given BASIC path; apply default extension.
            path: bytes             requested DOS path to file on this device
            defext: bytes           default extension, to apply if no dot in basename
            create: bool            allow creating a new name for the proposed DOS name
                                    if not, throw if matched basename does not exist
            isdir: bool             basename should refer to a directory
\ Find os - native path to match the given BASIC path ; apply default extension . path : bytes requested DOS path to file on this device defext : bytes default extension to apply if no dot in basename create : bool allow creating a new name for the proposed DOS name if not throw if matched basename does not exist isdir : bool basename should refer to a directory
def _get_native_abspath(self, path, defext, isdir, create):
        """\
            Find os-native path to match the given BASIC path; apply default extension.
            path: bytes             requested DOS path to file on this device
            defext: bytes           default extension, to apply if no dot in basename
            create: bool            allow creating a new name for the proposed DOS name
                                    if not, throw if matched basename does not exist
            isdir: bool             basename should refer to a directory
        """
        # substitute drives and cwds
        # always use Path Not Found error if not found at this stage
        dos_dirname, name = ntpath.split(path)
        native_relpath = self._get_native_reldir(dos_dirname)
        # return absolute path to file
        path = os.path.join(self._native_root, native_relpath)
        if name:
            path = os.path.join(path, self._get_native_name(path, name, defext, isdir, create))
        # get full normalised path
        return os.path.abspath(path)
def _get_native_abspath ( self , path , defext , isdir , create ) : # substitute drives and cwds # always use Path Not Found error if not found at this stage dos_dirname , name = ntpath . split ( path ) native_relpath = self . _get_native_reldir ( dos_dirname ) # return absolute path to file path = os . path . join ( self . _native_root , native_relpath ) if name : path = os . path . join ( path , self . _get_native_name ( path , name , defext , isdir , create ) ) # get full normalised path return os . path . abspath ( path )