Skip to content

🕒 A clean Python script that shows the current time in real-time ⏱️ updating every second. مناسب برای تمرین حلقه‌ها، مدیریت زمان و خروجی ترمینال. Uses `datetime` & `time` to display a live clock in terminal with smooth formatting. Refreshes every second using `time.sleep(1)`.

Notifications You must be signed in to change notification settings

MatinProgrammer89/Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🕒 Real-Time Clock Display | نمایش ساعت زنده با پایتون

A lightweight Python script that displays the current time in real-time, updating every second. Perfect for beginners learning loops, time handling, and terminal formatting.

اسکریپتی ساده و سبک با پایتون که ساعت فعلی را به‌صورت زنده نمایش می‌دهد و هر ثانیه به‌روزرسانی می‌شود. مناسب برای تمرین حلقه‌ها، مدیریت زمان و ساخت ابزارهای ترمینالی.

🔧 Features | ویژگی‌ها

  • Live clock with hours, minutes, and seconds
  • Refreshes every second using time.sleep(1)
  • Clean terminal output with overwrite effect (end="\r")
  • Minimal and beginner-friendly code structure

📦 Tech Stack | تکنولوژی‌ها

  • Language: Python
  • Libraries: datetime, time (standard library)

🚀 How to Run | نحوه اجرا

python main.py

About

🕒 A clean Python script that shows the current time in real-time ⏱️ updating every second. مناسب برای تمرین حلقه‌ها، مدیریت زمان و خروجی ترمینال. Uses `datetime` & `time` to display a live clock in terminal with smooth formatting. Refreshes every second using `time.sleep(1)`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages