After running python script on n files want, to redirect the output to n files( which I have already created). My platform is Linux
1. Have 100 files with naming convention grid_1.txt, grid_2.txt, ...., grid_100.txt.
2. Have 100 files named result_grid_1.txt, result_grid_2.txt, ......, result_grid_100.txt.
3. have to automate the below step for 100 files:
python grid_1.txt > result_grid_1.txt

Reply With Quote
