def open_text(fn:PathOrStr, enc='utf-8'):
    "Read the text in `fn`."
    with open(fn,'r', encoding = enc) as f: return ''.join(f.readlines())
def open_text ( fn : PathOrStr , enc = 'utf-8' ) : with open ( fn , 'r' , encoding = enc ) as f : return '' . join ( f . readlines ( ) )
Read the text in `fn`.