(Feb-10-2020, 01:42 PM)Nomex Wrote: The problem of infinity was there because i did not write f=f.readline() in the loop again. After that it worked perfectly. Thanks by the way!
Although it works, it's better to look at @snippsat example, because it's much better and pythonic than what you do
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs