I have a .txt file that has 20 rows. Each row is a variation of this:
76C1125477854212562 112544 where:
var1=76C11
var2=25477
var3=85421
var4=2562
var5=112544
I've been looking for ways to split/parse the text file so I can iterate over the 20 rows and split it accordingly in python. I have tried parsing and splitting through split() but it wouldn't work since I have no line breaks. I've also tried adding line breaks at specific places and haven't been able to find resources to help me with that. Any help is appreciated!
So far:
file = open('FileName.txt','r')
read = file.readlines()