Forwarding to tutor list. Please always use "Reply All" or "Reply List" when responding to the tutor list.
On 26/04/16 09:24, Marco Soldavini wrote: > On Tue, Apr 26, 2016 at 2:05 AM, Alan Gauld via Tutor <[email protected]> > wrote: >> On 25/04/16 17:24, Marco Soldavini wrote: >>> I've a few questions about parsing XML. I wrote some code that works >>> but I want to know which are the most intelligent data structures to >>> parse data to >> Answer: The ones that suit what you want to do with it. >> But you haven't told us what you plan on using it for so >> we can't tell you what is suitable. >> > Let's say I would use the tag values as argument of function call in > the subsequent part of the program. > > For example one tag will contain a server address. In the program I'll > have a function which will use this address to perform a connection. > -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
