10 lines
205 B
Python
10 lines
205 B
Python
|
from .utils import BaseParser
|
||
|
|
||
|
|
||
|
class Parser(BaseParser):
|
||
|
"""Parse ``.txt`` files"""
|
||
|
|
||
|
def extract(self, filename, **kwargs):
|
||
|
with open(filename) as stream:
|
||
|
return stream.read()
|