I have some txt files that follow a pattern:
link
Thieves get caught after sending selfies with stolen iPad to iCloud victim
There are several types of meliantes Those you have never heard [...]
That is:
original link
title
content
I would like to know how to do in Python, something style archive.readlines (2 :) (start reading the file from the second line to the end) to get all the content that interests me in these files.
Solution
I was able to accomplish the desired with the code:
archive = open('texto.txt', 'r')
print(archive.readlines()[1:])
archive.close
Or
trecho = open('texto.txt', 'r').readlines()[1:]
This will return only one list with the desired one.