Little scenario of what I am trying to do.
First I open the text file from directory parse the data, do little bit of formatting and then generate the outfile.
Right now the file is generated based on what I give the name of the file in the variable in the beginning but that needs to be changed based on the file name I open in the beginning.
If I open the file name called first_file.txt then the files I generate at the end should be first_files.txt also but I am not able to do that.
Any help is appreciated
Currently I have
But I want to have the name of the outfile based on the file name that I open not what I have set up in the beginning
Any help is appreciated , also please let me know if anything is not clear
Thanks
Smriti
Bookmarks