#python 3 from PIL import ImageGrab snapshot = ImageGrab.grab() save_path = "C:UsersYourUserDesktopMySnapshot.jpg" #dont forget to write the name and the extension of the file in the end snapshot.save(save_path)