(self, dest_filename, mode="w")
return False
Copy self.filename to another file. We avoid shutil to have
        the fewest possible dependencies on other Python modules.
Copy self.filename to another file. We avoid shutil to have
        the fewest possible dependencies on other Python modules.
Copy self . filename to another file . We avoid shutil to have the fewest possible dependencies on other Python modules .
def copyto(self, dest_filename, mode="w"):
        """Copy self.filename to another file. We avoid shutil to have
        the fewest possible dependencies on other Python modules.
        """
        if self.filename == "-" and dest_filename != "-":
            return self._stream2file(dest_filename, mode)

        if self.filename != "-" and dest_filename == "-":
            return self._file2stream()

        if self.filename != "-" and dest_filename != "-":
            return self._file2file(dest_filename, mode)

        return False
def copyto ( self , dest_filename , mode = "w" ) : if self . filename == "-" and dest_filename != "-" : return self . _stream2file ( dest_filename , mode ) if self . filename != "-" and dest_filename == "-" : return self . _file2stream ( ) if self . filename != "-" and dest_filename != "-" : return self . _file2file ( dest_filename , mode ) return False