How to read and write multiple files?

后端 未结 8 1139
南方客
南方客 2020-12-24 00:52

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

8条回答
  •  离开以前
    2020-12-24 01:10

    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.

提交回复
热议问题