I have a simple For Loop in a python script:
for filename in filenames:
outline= getinfo(filename)
outfile.write(outline)
This For Loop is part of a larger script that extracts data from HTML pages. I have nearly 6GB of html pages and want to do some test runs before I try it on all of them.
I have searched but cant find a way to make my For Loop break after n iterations (lets say 100.)