This project allows you to create a real-time countdown to the New Year using Python.
To run this code, you will need the following:
- A code editor such as Visual Studio Code (VS Code)
- Python environment
- Necessary libraries (
datetime
,time
, andpytz
if not included in your standard library)
-
Ensure Python is installed on your machine. If not, download and install it from python.org.
-
Install the required libraries using pip:
pip install pytz
- Clone or download the Countdown.py file to your local machine.
- Open the file in your preferred code editor, Jupyter Notebook, or Google Colab.
- Adjust the timezone offset to match your local time zone. The provided example uses Bangladesh Standard Time (BST), which is UTC+6.
- Execute the code.
- Git clone or downloard this repository
- Open your terminal or command prompt.
- Navigate to the directory where Countdown.py is saved.
- Run the script using the following command:
python Countdown.py
Jimmy Majumder
Robotics Engineer at QibiTech Inc., Japan
Founder of Bangladesh Advanced Robotics Research Center (BARRC)
https://barrc-bd.com/