This Python script generates a random One-Time Password (OTP) and notifies the user using Windows 10 toast notifications.
- Generates a random 4-digit OTP using numbers (0-9).
- Notifies the user with the OTP using a Windows 10 toast notification.
- Ensure you have Python installed on your system.
- Install the
win10toast
library using pip:pip install win10toast
- Run the script
otp_generator.py
. - A Windows 10 toast notification will pop up displaying the generated OTP.
python main.py