Python- about file-handle limits on OS -
Hi, I wrote a program by Python, and when I open several templates, I'll get an exception: many open files ... then I understand that there are limitations of file-handle in Windows OS or C runtime, so , I change my program using stringio (), but still do not know whether stringo is also limited ??
Usually OS allows to open thousands of files before running in the same range, so if your program handles running out of file unless you can forget to close them You do not intend to open thousands of files and in fact only run out.