[Tutor] XML Programs

Glen glenuk at gmail.com
Mon Apr 16 09:07:45 EDT 2018


I understand, I'd love to use something else but the save game files are in
XML so I have no choice :'(

On 16 April 2018 at 13:54, leam hall <leamhall at gmail.com> wrote:

> 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.  :)
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list