Script that prints welcome message when run. Script also fetches weather information as well as sunrise/sunset timings from openweather.com API and prints formatted messages and the corresponding weather visual in ASCII form.
Using the resource files in the folder, the script randomly selects quotes and adjectives to print motivational formatted messages.
The images used to create ASCII counterparts were downloaded from the openweather website.
The text files containing quotes and adjectives were manually scrapped off the internet.
Example output of script running:
On this fine day in beautiful Singapore, this is what the weather looks like now:
::::::
.:::::::::
@@@@@@::::::::::
@@@@@@@@%+:::::::::::::
@@@@@@@@@@@#:::::::::::::
@@@@@@@@@@@@+=++=::::::::::
@@@@@@@@@@@@@@@@@@@%-:::::::::-
@@@@@@@@@@@@@@@@@@@@@@@*.:::::::::
@@@@@@@@@@@@@@@@@@@@@@@@%*+-:::::::
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#:::::-
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%.:.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@
There is a 75% chance of some broken clouds.
The sun rose today at 07:09:07 and will set at 19:12:03 later in the evening.
Now for your quote of the day:
Eleanor Roosevelt famously once said:
"The future belongs to those who believe in the beauty of their dreams."
On a totally unrelated note,
Here's a quote from the film by Alfred Pennyworth from teh film Batman Begins(2005):
"Why do we fall, sir? So that we can learn to pick ourselves up."
Remember you are a humorous, stupendous and patient human being!
Now go and make (or break) something today!