XML is kiinda nice for language-independent and editor-independent
file formats, just because so many languages are so unfriendly at
parsing text and happen to have a good XML library.

But, yeah, don't see much reason for XML here either.

-Thiago

On Mon, May 17, 2010 at 7:37 AM, Luke Paireepinart
<rabidpoob...@gmail.com> wrote:
> 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 <taylor...@comcast.net> wrote:
>>
>> I like that idea a whole lot more than XML.
>>
>>> -----Original Message-----
>>> From: owner-pygame-us...@seul.org [mailto:owner-pygame-us...@seul.org] On
>> Behalf Of
>>> Mark Reed
>>> Sent: Saturday, May 15, 2010 12:07 PM
>>> To: pygame-users@seul.org
>>> 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
>>> <rikuthero...@gmail.com> 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 <ninmonk...@gmail.com>
>>> >>
>>> >> 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
>

Reply via email to