Is there a way to get strings line by line from tk Text box?
I know there is readline for files, but i don't see anything like that for
tk Text box.
Only thing i see is text.get(float(index1), float(index2))
but it seems unhelpful in my case, although it is possible to get line by line by
incrementing index1 and 2 by 1, using loop
I won't be able to terminate it,
because there is no built-in method or attributes that would tell
how many times i need to loop until the loop variable reaches to the end of line.
Is there anyone can help me with this issue?!