pyrqa/file_reader.py
def file_as_string(dir_path, file_name):
        """
        Return file data as string.

        :param dir_path: Path to directory.
        :param file_name: Name of input file.
        :returns: File data.
        :rtype: String.
        """
        with open(os.path.join(dir_path, file_name)) as input_file:
            return input_file.read()

        Return file data as string.

        :param dir_path: Path to directory.
        :param file_name: Name of input file.
        :returns: File data.
        :rtype: String.
        
Return file data as string.
Return file data as string .
def file_as_string(dir_path, file_name):
        with open(os.path.join(dir_path, file_name)) as input_file:
            return input_file.read()
def file_as_string ( dir_path , file_name ) : with open ( os . path . join ( dir_path , file_name ) ) as input_file : return input_file . read ( )
Return file data as string.
Return file data as string .
"""
        Return file data as string.

        :param dir_path: Path to directory.
        :param file_name: Name of input file.
        :returns: File data.
        :rtype: String.
        """
None
String.
dir_path
Path to directory.
Path to directory .
file_name
Name of input file.
Name of input file .