(Nov-08-2022, 11:39 PM)Larz60+ Wrote: As DeaD_EyE points out, there has to be an object named 'Print' with a capital 'P' in the code.OK, I'll have to accept that, although no such thing exists in my code.
Considering the scope of things "Print(e)" inside a function, inside an "except Exception as e":
would be hard pressed not to show as an error. There is another possibility, come to think of it.
In another thread i was inquiring about monitoring the progress of a multithreading (workers)
process. Printing inside such a function is erratic anyway. Maybe i was impatient and the error
was somewhere in the pipeline, still to be printed when I stopped the program. (Because I saw something was wrong)
Without an error message,it took me some time to pinpoint the "Print".
I'm still open for suggestions on how to monitor multithreading progress without printing from within the ThreadPool (workers) function.
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'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.