am having the below mentioned code that will process large file with N lines at a time. But i need help related to processing of file, say if i want to start processing from line number: 121495, and want to process in batches of 10000.
from googletrans import Translator
from itertools import islice
file_translate = Translator()
with open("Ruprechter_at_data_27072020_de.csv", encoding="utf8") as file:
   while True:
      lines = list(islice(file, 10000))
      #print(lines)
      with open("test_04.csv",'a+',encoding="utf8") as file1:
            for line in lines:
                    #print(line)
                    x=file_translate.translate(line, dest='en')
                    file1.write(x.text+'\n')
      if not lines:
        break
 
    