[Tutor] Json files

Mats Wichmann mats at wichmann.us
Thu Apr 12 13:54:20 EDT 2018


On 04/12/2018 10:44 AM, Shannon Evans via Tutor wrote:
> Hi,
> I have managed to get my two json files that need to be imported into
> python and then i need to write a program on who gets fruit and who doesn't
> and then need to get the final stock at the end. I was just wondering how i
> import the files into python and how i use them after that?

You should start by looking at the json encoder/decoder, part of the
standard Python library:

https://docs.python.org/3/library/json.html




More information about the Tutor mailing list