r/PythonLearning • • Sep 26 '26 • Bravo 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

35 comments sorted by

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

2

u/SchemeWestern3388 Sep 27 '26

I have no clue what that individual is so cynical about, ignore them. 

Pretty decent first project. Keep at it!