File I/O

Diez B. Roggisch deets at nospam.web.de
Fri Sep 29 10:15:52 EDT 2006


jimburton wrote:

> 
> Diez B. Roggisch wrote:
>> Kirt wrote:
>>
>> >
>> > jimburton wrote:
>> >> Kirt wrote:
>> >> > Hi! I need some help in file I/O
>> >> >
>> >> > I have an xml file..
>> >> [snip]
>> >> See http://diveintopython.org/xml_processing/
>> >
>> > i dont wanna parse the xml file..
>>
>> If you play soccer, do you insist on playing with a baseball bat?
>> 
> I've been known to open a bottle of wine with a pencil. Works fine.

Good to know that you can get drunk under any circumstances.

I have seen a bazillion bad xml/html parsing-hacks using regexes and the
like, which stopped working after somehow the xml came all in one line, or
some other implicit assumption about its layout failed to be met. 







More information about the Python-list mailing list