Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
too many files open
#4
(Jul-17-2023, 03:04 PM)Larz60+ Wrote: Currently, you're trying to open a huge slug at a time.
Hi Larz,
I already tried with open(...) as ... but it gave no results.
Also I closed all files, or set them to "None"... everything failed.

Although the numbers are huge, in principle I open only 1 file at the time, cut it in max 4 parts,
save them, and close everything. But it would seem that the img.save operation keeps its filepointers somehow.

While executing my "Plan B", I have come to suspect a difference between win 10 and win 11.
My Plan B works on win 11 but not on win 10, with the same error24.

If by chance I find a reason why, I will publish it.
Is it Python, is it windows ? Am I barking up the wrong tree?
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
too many files open - by DPaul - Jul-16-2023, 12:45 PM
RE: too many files open - by DPaul - Jul-17-2023, 01:31 PM
RE: too many files open - by Larz60+ - Jul-17-2023, 03:04 PM
RE: too many files open - by DPaul - Jul-17-2023, 05:16 PM
RE: too many files open - by perfringo - Jul-18-2023, 05:53 AM
RE: too many files open - by DPaul - Jul-18-2023, 06:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  The Open Open Open Source Project GareBearH 1 2,752 May-14-2021, 10:48 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020