Open nmunro opened 7 years ago
@nmunro thanks for pointing it out. And i used f.read() instead of f.readlines() as data is in list format.
Wow Code is becoming better and better :)
And by the way @tarunvelli you did such a great job, I am trying to grasp what you did there. I am just beginning to learn python so it's quite confusing for me to understand the whole code. But I am happy that I am able to learn from you :)
Hey my code is pretty hacky, im sure its not the right way to do it. But works fine for now :) do improve on it when you get better implementations
Sure I will look forward making the code better and useful. Thank you again for your time. You did super cool thing :)
The following snippet:
Would be better written as:
The with statement ensures that the file is never left open accidentally.