When using the --files-from paramter the listed files in the text file cannot be found.
When iterating over the files they all contain a \n character (already converted to universal newlines by TextIOWrapper for OS compatibility, see: https://docs.python.org/3/library/io.html#io.TextIOWrapper ), which makes the list_files method fail.
When using the
--files-from
paramter the listed files in the text file cannot be found. When iterating over the files they all contain a\n
character (already converted to universal newlines by TextIOWrapper for OS compatibility, see: https://docs.python.org/3/library/io.html#io.TextIOWrapper ), which makes thelist_files
method fail.I use Lingua like so: