title: extracting/manipulating tab-delimited data with string and integers in python
body: <p>I have a tab-delimited file with three columns (Name Nr1 Nr2) like the following:</p>
  
  <p>ABC 201 215</p>
  
  <p>DEF 301 320</p>
  
  <p>GHI 350 375</p>
  
  <p>I would like to transfer the last file into the following format:</p>
  
  <p>ABC 201 201 #taking the value from the first value from the second column and continue line by line till the second value in the third line as the following</p>
  
  <p>ABC 202 202</p>
  
  <p>ABC 203 203</p>
  
  <p>......and so on till the third column value</p>
  
  <p>ABC 215 215</p>
  
  <p>DEF 301 301
  ....and so on till the third column value</p>
  
  <p>DEF 320 320</p>
  
  <p>GHI 350 350</p>
  
  <p>GHI 351 351</p>
  
  <p>GHI 351 351</p>
  
  <p>....</p>
  
  <p>GHI 375 375</p>
  
  <p>is that possible in python?</p>
  
  <p>I would really appreciate your help in this
  Thanks in advance</p>