Re: new here

2024-08-28 Thread Daniel via Python-list
rbowman writes: > On Sun, 25 Aug 2024 21:29:30 -0400, avi.e.gross wrote: > >> If everyone will pardon my curiosity, who and what purposes are these >> smaller environments for and do many people use them? >> >> I mean the price of a typical minimal laptop is not a big deal today. So >> are these

Re: new here

2024-08-28 Thread rbowman via Python-list
On Wed, 28 Aug 2024 08:41:28 +0100, Daniel wrote: > That is so cool. I've had the same idea to use the API with AWS for my > bbs. I also want to do the same thing for other government sites like > ecfr for pulling aviation regulations. > > Is your code somewhere I can look at it? The NOAA? I di

Script stops running with no error

2024-08-28 Thread Daniel via Python-list
As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the json and output, for now, just the definition of the word. Wiktionary is wikimedia's dictionary. My requirements for v1

Re: Script stops running with no error

2024-08-28 Thread Thomas Passin via Python-list
On 8/28/2024 5:09 PM, Daniel via Python-list wrote: As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the json and output, for now, just the definition of the word. Wiktiona

Re: Script stops running with no error

2024-08-28 Thread dn via Python-list
On 29/08/24 10:32, Thomas Passin via Python-list wrote: On 8/28/2024 5:09 PM, Daniel via Python-list wrote: As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the json and ou

Re: Script stops running with no error

2024-08-28 Thread rbowman via Python-list
On Wed, 28 Aug 2024 22:09:56 +0100, Daniel wrote: > if definition: > print(f"\n{word_type.capitalize()}\n") > print("\n".join(definition)) > break I don't know if that was intended but the 'break' kicks you out of

Re: Script stops running with no error

2024-08-28 Thread Thomas Passin via Python-list
On 8/28/2024 8:07 PM, dn via Python-list wrote: On 29/08/24 10:32, Thomas Passin via Python-list wrote: On 8/28/2024 5:09 PM, Daniel via Python-list wrote: As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data fro