How to read specific lines from a file (by line number)?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Melt
--
Chapters
00:00 Question
00:26 Accepted answer (Score 326)
01:02 Answer 2 (Score 199)
02:36 Answer 3 (Score 40)
02:53 Answer 4 (Score 37)
04:13 Thank you
--
Full question
https://stackoverflow.com/questions/2081...
Answer 1 links:
[linecache]: http://docs.python.org/library/linecache...
["python: how to jump to a particular line in a huge text file?"]: https://stackoverflow.com/questions/6203...
[@Alok's advice and use enumerate()]: https://stackoverflow.com/questions/2081...
[@Alok's advice and use ]: https://stackoverflow.com/questions/2081...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #file #line
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Melt
--
Chapters
00:00 Question
00:26 Accepted answer (Score 326)
01:02 Answer 2 (Score 199)
02:36 Answer 3 (Score 40)
02:53 Answer 4 (Score 37)
04:13 Thank you
--
Full question
https://stackoverflow.com/questions/2081...
Answer 1 links:
[linecache]: http://docs.python.org/library/linecache...
["python: how to jump to a particular line in a huge text file?"]: https://stackoverflow.com/questions/6203...
[@Alok's advice and use enumerate()]: https://stackoverflow.com/questions/2081...
[@Alok's advice and use ]: https://stackoverflow.com/questions/2081...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #file #line
#avk47