I agree. Never understood why people love xml so much. I've always had my cfg files be python files that I import. Works awesomely. and if you ever want to programmatically generate your data you can always include that code in the cfg file. Super easy and flexible. Only downside that i can see is non-python interaction. But you can always write code to dump to/from xml if you really need that.
On 5/16/10, David Taylor <[email protected]> wrote: > > I like that idea a whole lot more than XML. > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On > Behalf Of >> Mark Reed >> Sent: Saturday, May 15, 2010 12:07 PM >> To: [email protected] >> Subject: Re: [pygame] Layout module for Pygame surfaces >> >> Why does it need to be XML? Write it out as python dict's and eval the >> file. 2 lines of code. >> >> And use an existing library and write an editor for it. Thats really >> the thrust of what you are trying to do. Support the code that is out >> there instead of rewriting it. >> >> Mark >> >> On Sat, May 15, 2010 at 5:16 PM, Pablo Recio Quijano >> <[email protected]> wrote: >> > There's no GUI behind the the XML right now. I wrote the XML by hand. >> > >> > The idea is to do the library and write an application like Glade, but > for >> > Pygame. >> > >> > 2010/5/15 jake b <[email protected]> >> >> >> >> What GUI are you using behind the xml? >> >> I'd be interested in seeing the code. >> > >> > >> > >> > -- >> > Pablo Recio Quijano >> > >> > Estudiante de Ingeniería Informática (UCA) >> > Alumno colaborador del Departamento de Lenguajes y Sistemas Informáticos >> > > > > -- Sent from my mobile device
