A simple tkinter-based alarm clock program.
-
Create a virtual environment
- On Mac and Linux -
python3 -m venv venv
- On Windows -
py -m venv venv
- On Mac and Linux -
-
Activate the virtual environment
- On Mac and Linux -
source venv/bin/activate
- On Windows -
.\venv\Scripts\activate
- On Mac and Linux -
-
To confirm if you are in the virtual environment:
-
On Mac and Linux,
which python
Should return
.../venv/bin/python
-
On Windows,
where python
Should return
.../venv/bin/python.exe
-
-
Run
pip install -r requirements.txt
Run python alarm_clock.py