mirror of
https://github.com/python/cpython.git
synced 2026-07-31 14:16:33 -04:00
Opening several files at once is error-prone, and the returned list cannot be used in a "with" statement. Iterate over the names returned by askopenfilenames() and open them one by one instead. Co-Authored-By: Claude Opus 4.8 <[email protected]>