I thought this is an easy task but I googled around and had no clue at all. I'm trying to run the pyhook tutorial and once I get to pythoncom.PumpMessages(), the function will stay idle and wait for Windows events.
I don't want to close down the window nor restart the shell because of all imported library and defined functions. Is there any way to termindate just the function?
I tried ctrl+c but it doesn't work at all.
Thanks a lot.