save () on the returned Image object will allow us to save the image into a file. from PIL import ImageGrab filepath = 'my_image.png' ...
確定! 回上一頁