in reply to giving same name to two files

You can give the same name as long as the extension is different i believe , if this is what you mean.

Replies are listed 'Best First'.
Re^2: giving same name to two files
by Anonymous Monk on Jul 16, 2013 at 12:26 UTC
    ya extension is different , but since i took an input from user and assigned it to a file handler which is closed so how can I give that name to the text file