qcodes/data/io.py
def remove_all(self, location):
        """
        Delete all files/directories in the dataset at this location.

        Afterward prunes the directory tree.
        """
        for fn in self.list(location):
            self.remove(fn)

        Delete all files/directories in the dataset at this location.

        Afterward prunes the directory tree.
        
Delete all files/directories in the dataset at this location.
Afterward prunes the directory tree.
Delete all files / directories in the dataset at this location . Afterward prunes the directory tree .
def remove_all(self, location):
        for fn in self.list(location):
            self.remove(fn)
def remove_all ( self , location ) : for fn in self . list ( location ) : self . remove ( fn )
Delete all files/directories in the dataset at this location.
Delete all files / directories in the dataset at this location .
"""
        Delete all files/directories in the dataset at this location.

        Afterward prunes the directory tree.
        """
self
location