Skip to content

Commit

Permalink
Merge pull request #42 from Dog-Face-Development/willtheorangeguy-pyt…
Browse files Browse the repository at this point in the history
…hon-structure

Change Python file structure
  • Loading branch information
willtheorangeguy authored Sep 4, 2022
2 parents 03dc41e + b271e91 commit 16d769c
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 56 deletions.
18 changes: 0 additions & 18 deletions ISSUE_TEMPLATE.md

This file was deleted.

12 changes: 0 additions & 12 deletions PULL_REQUEST_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Create Window
window = Tk()
window.title("Canning Timer")
window.iconbitmap('favicon.ico')
window.iconbitmap('timer/favicon.ico')

# Timer Program for Burner 1
def timeStart1():
Expand Down
50 changes: 25 additions & 25 deletions Timer Example.py → timer/Timer Example.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Copyright 2017-2022 Dog Face Development Co.
import time

# Main Time Function
def timeStart():
# Variables to keep track and display
Sec = 0
Min = 0
# Begin Process
timeLoop = start
while timeLoop:
Sec += 1
print(str(Min) + " Min " + str(Sec) + " Secs ")
time.sleep(1)
if Sec == 59:
Sec = 0
Min += 1
print(str(Min) + " Minutes ")
if Min == 15:
break

# Ask to Begin
start = input("Would you like to begin Timing? (y/n): ")
if start == "y":
timeStart()
# Copyright 2017-2022 Dog Face Development Co.
import time

# Main Time Function
def timeStart():
# Variables to keep track and display
Sec = 0
Min = 0
# Begin Process
timeLoop = start
while timeLoop:
Sec += 1
print(str(Min) + " Min " + str(Sec) + " Secs ")
time.sleep(1)
if Sec == 59:
Sec = 0
Min += 1
print(str(Min) + " Minutes ")
if Min == 15:
break

# Ask to Begin
start = input("Would you like to begin Timing? (y/n): ")
if start == "y":
timeStart()
File renamed without changes.
File renamed without changes.

0 comments on commit 16d769c

Please sign in to comment.