[Tutor] XML Programs

leam hall leamhall at gmail.com
Mon Apr 16 08:54:30 EDT 2018


On Mon, Apr 16, 2018 at 7:10 AM, Glen <glenuk at gmail.com> wrote:
> Hey guys,
>
> I'm writing a save-game editor for a game I play (just a project to learn).
> But I am struggling on how to structure the code, how to store the xml data
> in data structure etc,
>
> Can anyone recommend some source I can review that reads and writes data
> from an xml file.

A friend's comment was "life is too short for XML". I like that. Have
you considered JSON? Taking it a step further, MongoDB (JSON) or
SQLite (SQL)? Both are pretty common and standard.

While Python has its own stuff, like Pickle, that means you can only
use Python. Using something like JSON or SQL means others can use the
data and you get a chace to develop in a shared environment.  :)


More information about the Tutor mailing list