screenshot app in telugu|python projects in telugu|python online tutorials in telugu

Опубликовано: 29 Июль 2026
на канале: coding
272
55

#python simple projects in telugu
code:

import pyautogui
import tkinter as tk
root=tk.Tk()
canvas=tk.Canvas(root,width=300,height=300)
canvas.pack()
def takeScreenShot():
my=pyautogui.screenshot()
my.save("C:/Users/HI/Desktop/screenn/123456.png")
print('saved')
mybutton=tk.Button(text='TakeScreenShoot',command=takeScreenShot(),bg="pink",font=10)
canvas.create_window(150,150,window=mybutton)
root.mainloop()