Hi Wayne,
Thanks alot. it's work but i use only len(a)-1 because i want add 1 crlf at the end of file thanks alot wayne