> >
> > Thanks Thomas yes you are right with append. I have tried it but just
> > can't get it yet as append takes only 1 argument and I wish to give it 3.
> >
> You have not showed us what you tried, but you are probably missing a pair
> of brackets.
>
> C:\Users\User>python
> Python 3.6.0 (v
On 2017-09-21 12:38, Sayth Renshaw wrote:
> Thanks Thomas yes you are right with append. I have tried it but just can't
> get it yet as append takes only 1 argument and I wish to give it 3.
>
> I am really having trouble creating the groups of 3, since I am getting one
> consistent stream.
I su
On 21/09/2017 11:18, Sayth Renshaw wrote:
Hi
I have been toying with json and I particular area where I cannot get the
desired result a list of tuples as my return. The json from the API is way to
long but I don't think it will matter.
.. hitting url
data = r.json()
for item in data["RaceDay
"Sayth Renshaw" wrote in message
news:cd4aa5c7-47ee-442b-945e-490b0674e...@googlegroups.com...
Thanks Thomas yes you are right with append. I have tried it but just
can't get it yet as append takes only 1 argument and I wish to give it 3.
You have not showed us what you tried, but you are p
On Thursday, 21 September 2017 20:31:28 UTC+10, Thomas Jollans wrote:
> On 2017-09-21 12:18, Sayth Renshaw wrote:
> > This is my closest code
> >
> > data = r.json()
> >
> > raceData = []
> >
> > for item in data["RaceDay"]['Meetings'][0]['Races']:
> > raceDetails = item['RacingFormGuide'][
On 2017-09-21 12:18, Sayth Renshaw wrote:
> This is my closest code
>
> data = r.json()
>
> raceData = []
>
> for item in data["RaceDay"]['Meetings'][0]['Races']:
> raceDetails = item['RacingFormGuide']['Event']['Race']
> raceData +=
> (raceDetails['Name'],raceDetails['Number'],raceDeta