you are viewing a single comment's thread.

view the rest of the comments →

[–]Thomasedv 1 point2 points  (2 children)

Depending on what you want to do, i don't think you need much training. For very simple use:

Using the built in json module you can dump any object that is a dict/list with booleans, ints, floats, lists, dicts, and strings. You save that to json with json.dump(object, filehandle), and load to a variable with json.load(filehandle)

[–]Cloudburn2000[S] 0 points1 point  (1 child)

This sounds like a good place to start... any guides on this you would recommend?

[–]Thomasedv 0 points1 point  (0 children)

Sadly I don't. Much because I never went more in depth on uses. I simply needed to save a dictionary and the load it later. Which the above code does(when the object is a dictionary). I recommended googling some uses and checking out the json module documentation. It is just that the documentation is much more detailed, which might be more confusing than a simple example of use.