I want to save the multiple screenshots at a time using the tkinter in python but i am unable to append the image files into the folder. Please tell how to do this.
def takeScreenshot ():
x = 1
while x < 4:
img = pyautogui.screenshot()
img.save("C:\Shivanshi\image\screenshot"+str(x)+".png")
x += 1
time.sleep(2)