[Tutor] Logic help
Alan Gauld
alan.gauld at yahoo.co.uk
Wed Aug 12 05:40:23 EDT 2020
On 12/08/2020 04:10, Baptista Albert wrote:
> I was thinking about connecting the Api, converting into Json file and load
> a list from the json file and then display it in the UI with Tkinter.
Why do you need the JSON file?
Why not take whatever the API gives you and display it directly in Tkinter?
Files are normally used for storage or transmission between machines.
JSON is normally used as a common format between different environments
(Javascript/Java/Python/Ruby/text-editing etc)
In your case I don't see a need for either a file or JSON.
But we'd need to know more about your API to know for sure.
What kind of data do you get back?
--
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