Inspiration
After my phone broke, I needed to find another alarm clock. What better way than to make one myself.
What it does
The code accepts the user's desired wake up time and opens a YouTube video link at the desired time.
How I built it
Using Python's "Time" and "WebBrowser" libraries, the code accepts a string in the form "XX:xx". This string is then continually compared to the current time until they are equal. At this point, a new tab in an already open browser window, or a new window if there is no already-open window, is created with the link to the YouTube video.
Challenges I ran into
Coming from no Python experience prior to this project, I had to learn to implement new libraries and functions.
Accomplishments that I'm proud of
The alarm clock works!
What I learned
This project taught me some basics of Python and helped convert some of my working knowledge of C++ into usable knowledge to another language.
What's next for YouTube Alarm Clock
The code currently does not allow for a user to input their desired video. An upcoming feature to look forward to.
Log in or sign up for Devpost to join the conversation.