Screenshot Taker Project GUI in python tkinter
Screenshot Taker Project GUI in python tkinter
Note : Recplace (greater than) and (less than) with their sign/symbol ( Because Youtube donot allow angle brackets in description ) OR You can get this code on github by using github link
Code github Link : https://github.com/ubaidahmadceh/python_tkinter_GUI_projects/blob/main/Screenshot_Taker_GUI.py
code :
import time
import pyautogui
from tkinter import *
def take_screenshot():
time.sleep(5)
name = int(round(time.time() * 1000))
name = '{}.png'.format(name)
image = pyautogui.screenshot(name)
root = Tk()
root.geometry("400x400")
root.title("Screenshot APP")
ss_button = Button(root, text="Take Screenshot", command=take_screenshot)
ss_button.pack()
close_button = Button(root, text="Quit", command=quit)
close_button.pack()
root.mainloop()
# pip install pyautogui
# pip install pillow
taking screenshots with tkinter,how to screenshot a specific window using python,how to take screenshot using python,python tkinter gui,tkinter python,python screenshot multiple screens,john elder tkinter,python screenshot script,john elder tkinter tutorial,python gui,john elder tkinter tutorial #199,tkinter screenshots,python mss screenshot,tkinter mss screenshots,tkinter.com,tkinter gui,tkinter tutorial,tkinter tutorial #199,codemy.com,john elder