Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: Python/C/Pascal ... How To Choose ? Date: 10 Nov 2025 07:46:03 GMT Lines: 27 Message-ID: References: <-RycnTDdvP2b54z0nZ2dnZfqnPGdnZ2d@giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net LLU9cZYV+VwoHQU29IxOuwVYjIK03OvvnMtPg6WgSgWa9btf6K Cancel-Lock: sha1:jERwyz8P/aBLihosFgBPkioV9RQ= sha256:ItB7viWlKBMfdhhjMoEAylpPX+RH7Af5gglxCtX5P0A= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:77237 On Mon, 10 Nov 2025 00:36:58 -0500, c186282 wrote: > On 11/9/25 14:28, rbowman wrote: >> On Sun, 09 Nov 2025 11:25:36 +0000, Diego Garcia wrote: >> >>> Try to predict the weather using Python. You'll be getting tomorrows >>> forecast next week, or even next month. >> >> How about in a second or two? The starting point is >> url = f"https://api.weather.gov/points/{latitude},{longitude}" > > Keep getting "invalid point" Try https://api.weather.gov/points/42.934,-90.567 wherever the hell that is. You're in the western hemisphere and longitudes are negative. The browser should show the JSON formatted so you can grab the 'forecast' URL https://api.weather.gov/gridpoints/ARX/88,22/forecast and get the daily forecasts. Doesn't look like paradise. Curiosity got the better of me -- it's Left Moose Nut, Wisconsin.