lisc.io.io.load_txt_file¶
- lisc.io.io.load_txt_file(file_name, directory=None, split_elements=True, split_character=',')[source]¶
- Load contents from a text file. - Parameters:
- file_namestr
- Name of the file to load. 
- directorystr or Path or SCDB, optional
- Folder or database object specifying the location of the file to load. 
- split_elementsbool, optional, default: True
- If True, splits elements within a single line. 
- split_characterstr, optional, default: ‘,’
- The character to use to split elements within a line. 
 
- Returns:
- contentslist
- Data loaded from the file.