sciris.sc_fileio.loadtext

loadtext(filename=None, folder=None, splitlines=False)[source]

Convenience function for reading a text file

Example:

mytext = sc.loadtext('my-document.txt')