Hi,<br><br>I am trying to do something like this in python. Can you please help?<br><br>handle= open('test.txt','a')<br><br>handle.write('''<br><br>Testsomething$i<br><br>something$i-test<br><br>'''<br>)<br><br>when i write into the file, i would like to have the output like this.<br><br>Testsomething1<br>something1-test<br>Testsomething2<br>something2-test<br>Testsomething3<br>something3-test<br>.......<br><br>I can perform the same using a loop. But how do i append i (1,2,......n) while i am writing into the file.(I mean inside the handle.write)<br><br>Thanks,<br>Chandru<br><p>&#32;
      <hr size=1><a href="http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50">Pinpoint customers </a>who are looking for what you sell.