Usage
Installation
To use nlpertools, first install it using pip:
(.venv) $ pip install nlpertools
Writing a file
To write a txt file, you can use the
nlpertools.readtxt_list_all_strip() function:
Source code in src/nlpertools/io/file.py
55 56 57 58 59 60 61 62 63 64 65 66 | |
For example:
>>> import nlpertools
# >>> nlpertools.readtxt_list_all_strip("res", "res.txt")