Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 32960e7

Browse files
2 parents 65c17f5 + ef1f1da commit 32960e7

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

‎ReadMe.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# PraticalPythonProjects
1+
# PraticalPythonProjects
2+
3+
Collection of Cool Practical Python Projects.. All in One Place..

‎Screenshot/screenshot.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import time
2-
import pyautogui
2+
import pyautogui
33

44
def screenshot():
55
name = int(round(time.time() * 1000))
6-
name = 'E:/Python-Programs/PythonProjects/Screenshot/ScreenshotsData/{}.png'.format(name)
7-
time.sleep(5)
6+
name = '{}.png'.format(name)# To name the file
7+
time.sleep(5)# Time Wait Before Taking Screenshot
88
img = pyautogui.screenshot(name)
9-
img.show()
9+
img.show()# To Show the Screenshot After Being Taken
1010

1111
screenshot()

‎Screenshot/screenshot_gui.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def screenshot():
66
name = int(round(time.time() * 1000))
7-
name = 'E:/Python-Programs/PythonProjects/Screenshot/ScreenshotsData/{}.png'.format(name)
7+
name = '{}.png'.format(name)
88
img = pyautogui.screenshot(name)
99
img.show()
1010

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /