Hi Aleksandra, > The idea is that they will need to grab some XML files, parse > them and then do some rather simple manipulation with the outputs.
What about using JSON or YAML instead of XML? I don't want to raise a flame war about file formats but Python's Standard JSON library [1] and PyYAML [2], in case you want use a third party library for your example, is very good for examples. Backing to XML > ElementTree vs lxml is the argument you'll get into for which Python XML > library you're going to want to use. I can't comment on this. Just a few words from my experience. ElementTree avoid user to install third party libraries but isn't easy to use. lxml is fast but the documentation need a little improvement for a novice perspective. This are my two cents. Raniere [1] https://docs.python.org/3/library/json.html [2] http://pyyaml.org/
signature.asc
Description: Digital signature
_______________________________________________ Discuss mailing list [email protected] http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
