* separated values

Magnus Lie Hetland mlh at vier.idi.ntnu.no
Tue Jan 15 23:31:00 CET 2002


Skip Montanaro wrote:
[snip]
>    Cliff> Having an XML parser in the standard library at least makes the
>    Cliff> argument that _it_ is the "canonical" module.
>
>Exactly.  In the case of XML it's a complex enough morass that it's really
>nice to have something just work without having to explicitly install any
>third-party code.

Indeed. I actually think the standard lib is enough of a morass when
it comes to XML... I wish there were something "for dummies" (like me)
there. I mean, you have several viable "dummy" solutions (like
minidom) but it would be nice to have something bleeding obvious, like

  from xml.dom import parse

etc. (The dom part may not be the worst, but using xml.xslt is still a
headache for me... I guess things are getting streamlined
gradually...)

This may be off topic... I just meant that things don't necessarily
become crystal clear or canonical because they end up in the standard
library (although I think they should be ;)

>In the case of CSV the problem is knowing which one of
>several packages to choose from.  Having a basic CSV parser/generator in the
>core makes sense to me because it is probably still the most widely used
>data interchange format (XML notwithstanding).

Indeed.

>Skip Montanaro (skip at pobox.com - http://www.mojam.com/)

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org



More information about the Python-list mailing list