None is None but not working

Sayth Renshaw flebber.crue at gmail.com
Thu Sep 28 05:35:30 EDT 2017


Thank you it was data["RaceDay"] that was needed.

ata = r.json()
    if data["RaceDay"] is None:
        print("Nothing here")
    else:
        print(data["RaceDay"])


Nothing here
Nothing here
Nothing here
{'MeetingDate': '2017-01-11T00:00:00', .....

Thanks

Sayth



More information about the Python-list mailing list