[Tutor] Json files

Alan Gauld alan.gauld at yahoo.co.uk
Thu Apr 12 16:50:58 EDT 2018


On 12/04/18 17:44, 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?

Do you know how to read standard text files?
And are you comfortable with dictionaries?

If so the json module documentation should
be easy to understand

Have a look and come back with any specific
questions.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list