Skip to content

Marioooo32/Python-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Countdown Timer with GUI

This Python script provides a graphical user interface (GUI) for a countdown timer. The timer allows you to set hours, minutes, and seconds and initiates a countdown when started.

Features

  • Three tabs for setting hours, minutes, and seconds individually.
  • Start and stop buttons to control the timer.
  • Visual representation of the countdown time in the main window.
  • Beep sound for 3 seconds when the timer reaches zero.
  • Information message at startup indicating that the timer was made by Mario with ChatGPT <3.

Usage

  1. Run the script using Python: python timer.py.
  2. Set the desired time in the Hours, Minutes, and Seconds tabs.
  3. Click the "Start" button to initiate the countdown.
  4. Click the "Stop" button to pause the countdown.
  5. The timer will display the remaining time in the main window.
  6. When the countdown reaches zero, a beep sound will play, and an information message will appear.

Requirements

  • Python 3.x
  • Tkinter (standard GUI toolkit for Python)
  • Winsound (for Windows sound support)
  • (Optional) Pygame (for cross-platform sound support)

Author

Acknowledgments

  • This timer was made with <3

About

Timer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages