mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-12-18 00:00:17 +00:00
Update screen_shot.py
This commit is contained in:
parent
41c4b962d4
commit
4d2dd3460f
|
@ -5,7 +5,7 @@ def screenshot_fun():
|
|||
print("Screenshot program runs on console\nchange the sleep time if you can the screenshot captured the terminal also")
|
||||
sleepTimer = 2
|
||||
print(f"You've {sleepTimer} to minimize the terminal window")
|
||||
sleep(2)
|
||||
sleep(sleepTimer)
|
||||
print("Captured the screen now")
|
||||
screenshot_img = pyautogui.screenshot()
|
||||
screenshot_img.save("screen.png")
|
||||
|
|
Loading…
Reference in New Issue
Block a user