First of all thanks for helping me out with moving files and for helping me in with tcl script.
Small doubt i had with python code.. as below..
impor
you dont all you can do is read in the file, insert the text you want, and write it back out
with open("some_file","r") as f:
data = f.read()
some_index_you_want_to_insert_at = 122
some_text_to_insert = "anything goes here"
new_data = data[:some_index_you_want_to_insert_at] + some_text_to_insert + data[some_index_you_want_to_insert_at:]
with open("some_file","w") as f:
f.write(new_data)
print "all done!"