In my project, I use python module logging
to generate execution report in a text file. My question is, how to close a report that is already open with any key on the keyboard ?
I've already checked the package keyboard
some other but they didn't work. I need suggestion please !