I want to write a program for this: In a folder I have n number of files; first read one file and perform some operation then store result in a separate file. Then
I have written a blog on how to easily deal with projects with a large number of files and process them.
https://medium.com/@sreekiranar/directory-and-file-handling-in-python-for-real-world-projects-9bc8baf6ba89
Please go through it and you will have a fair idea on file handling using Python.