I try your code, but the result it's same of mine, I mean nothing is show
My text letter file as exemple has 70K rows, I take peace of it
Output:
|C590|090|1253|0|710,44|0|0|0|0|0||
|C500|0|1|1-600281|06|00||||25878154|23042019|25042019|15309,16|0|15309,16|0|0|0|0|0|0|0||252,60|1163,50|||
|C590|090|1253|0|15309,16|0|0|0|0|0||
|C990|885509|
|D001|0|
|D100|0|1|1-500145|57|00|001||2097819|32190405593147000156570010020978191053226735|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3205309|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097820|32190405593147000156570010020978201053226752|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3204609|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097821|32190405593147000156570010020978211053226768|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3200607|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097822|32190405593147000156570010020978221053226773|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3202801|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097823|32190405593147000156570010020978231053226789|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3201902|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097824|32190405593147000156570010020978241053226794|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3202405|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097825|32190405593147000156570010020978251053226805|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3205200|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097826|32190405593147000156570010020978261053226810|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3201308|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097827|32190405593147000156570010020978271053226826|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3201407|
|D190|000|1353|12|313,46|313,46|37,62|0||
|D100|0|1|1-500145|57|00|001||2097828|32190405593147000156570010020978281053226831|01042019|08042019|0||313,46|0|0|313,46|313,46|37,62|0|||3205002|3202207|
After run your code
Output:
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>>
= RESTART: C:/Users/zinho/Documents/Projetos_Python/gettext_V2.py
>>>
My original file is here
https://santacruzdistribuidora-my.sharep...g?e=GWdqxr