Só usar o atalho Shift + PrtScr e selecionar a área. De nada :)
Here is what the above code is Doing:
1. It’s importing the ImageGrab module from the PIL library.
2. It’s grabbing a screenshot of the entire screen.
3. It’s saving the image to the current directory.