qcodes/data/io.py
def to_path(self, location):
        """
        Convert a location string into a path on the local file system.

        For DiskIO this just fixes slashes and prepends the base location,
        doing nothing active with the file. But for other io managers that
        refer to remote storage, this method may actually fetch the file and
        put it at a temporary local path.

        Args:
            location (str): A location string for a complete dataset or
                a file within it.

        Returns:
            str: The path on disk to which this location maps.
        """
        location = self._normalize_slashes(location)
        if self.base_location:
            return os.path.join(self.base_location, location)
        else:
            return location

        Convert a location string into a path on the local file system.

        For DiskIO this just fixes slashes and prepends the base location,
        doing nothing active with the file. But for other io managers that
        refer to remote storage, this method may actually fetch the file and
        put it at a temporary local path.

        Args:
            location (str): A location string for a complete dataset or
                a file within it.

        Returns:
            str: The path on disk to which this location maps.
        
Convert a location string into a path on the local file system.
For DiskIO this just fixes slashes and prepends the base location,
doing nothing active with the file. But for other io managers that
refer to remote storage, this method may actually fetch the file and
put it at a temporary local path.
Convert a location string into a path on the local file system . For DiskIO this just fixes slashes and prepends the base location doing nothing active with the file . But for other io managers that refer to remote storage this method may actually fetch the file and put it at a temporary local path .
def to_path(self, location):
        location = self._normalize_slashes(location)
        if self.base_location:
            return os.path.join(self.base_location, location)
        else:
            return location
def to_path ( self , location ) : location = self . _normalize_slashes ( location ) if self . base_location : return os . path . join ( self . base_location , location ) else : return location
Convert a location string into a path on the local file system.
Convert a location string into a path on the local file system .
"""
        Convert a location string into a path on the local file system.

        For DiskIO this just fixes slashes and prepends the base location,
        doing nothing active with the file. But for other io managers that
        refer to remote storage, this method may actually fetch the file and
        put it at a temporary local path.

        Args:
            location (str): A location string for a complete dataset or
                a file within it.

        Returns:
            str: The path on disk to which this location maps.
        """
The path on disk to which this location maps.
The path on disk to which this location maps .
str
self
location
A location string for a complete dataset or
a file within it.
A location string for a complete dataset or a file within it .