Using a different file, then replace it with it.
text = file('file_name','r').read() // read from file list = '00 00' + [line for line in text] new_list = [] l=len(list) for i in xrange(1,l): new_list+=['missing' for i in range(int(list[i].split()[0])-int(list[i-1].split()[0])+1)] new_list.append(list[i])
then write new_list to the file, then replace the file with this
user1870343
source share