How to read a specific line from a text file in python


Topic: How to read a specific line from a text file in python

Solution

line = open("file.txt", "r").readlines()[7]



List all Python Programs