You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project works on displaying Current Time Stamps
To create Current time stamps using python, we will need to import two Python modules one for creating GUI and another to get year data.
Pendulum, Pendulum is one of the libraries in python which provides easily manages complex date manipulations better than native DateTime instances. It also manages timezones.
And for the speaking purpose, we will use pyttsx3.
Procedure:
importpendulumimportpyttsx3
First after importing modules.
After that we will make a function speak() in which we will set the rate of speaking and the type of voice.
Then we will take input from user for which year you want to display the calendar.
After that in code section we will first use pendulum.now() which will tell the current date and time of that zone.
After displaying it, a bot voice will ask you to enter a location which is evaluated in try and except block.