openBrain wrote: ↑Thu Dec 03, 2020 4:49 pm
I made a quick test using a file named 'test.txt' containing some alphabet characters each on a new line and it works OK :
I did subsequent similar tests and it did work...don't know what I did yesterday that didn't...
openBrain wrote: ↑Thu Dec 03, 2020 5:03 pm
..
Are you sure this works ? I find it weird because there's no 'read' and the loop always pick up the item '[0]'.
...
Umm...urr I was switching back and forth between a test python file, madly cut-n-past'n, then I did that post, all before coffee.
That's not what is in the file now...
I really should know better.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."