r/PythonLearning
•
u/ProgramBrave718
•
Sep 26 '26
•
1
Showcase Made my first cool project!!!
I made a program that calculates exact sunrise and sunset based on latitude and longitude of a specific location.
Here I used this api
I can't get a geocoding api to translate location's name into coordinates.
I had to create a dictionary of a few locations.
295
Upvotes


View all comments
Show parent comment
1
u/ProgramBrave718 Sep 26 '26 edited Sep 26 '26
Sir, , actually i am still learning.I agree there are no timeouts and the api cannot work sometimes and please can u read my code carefully because there is Exception handling for city which is not found for. Please check code carefully before making a fake error