Source code for textract.parsers.txt_parser
[docs]def extract(filename, **kwargs):
"""Extract text from a .txt file
"""
with open(filename) as stream:
return stream.read()
[docs]def extract(filename, **kwargs):
"""Extract text from a .txt file
"""
with open(filename) as stream:
return stream.read()