As you read the HTML of the site, delete what is before. If there is any clear screen in Python.
import mechanize
response = mechanize.urlopen("https://www.exemplo.com")
m = 0
linha = ''
if (m < 100):
for n in response.read():
m += 1
linha += n
if (n == '\n'):
print(linha)
linha = ''