@brutalenemy666, Thank you very much for your great help.... It really works as i wanted.

@Laserlight, Sorry for him, since he didn't put inside . But attached file realy helped me .By the way, whats the problem if somebody is helping.

In fact, I don't have much knowledge of python programing. So, I took help. I am new in python world...

Once again thanks a lot