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

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 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 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

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