Re: [Discuss] Teaching very simple XML manipulation

2014-10-30 Thread Greg Wilson
Hi Aleksandra, There's a module on XML in the Version 3 notes (https://github.com/swcarpentry/v3/); the Python libraries for manipulating XML have moved on since that was written (eight years ago now), but the explanation of what it is and why it's complicated may be useful. Thanks, Greg

Re: [Discuss] Teaching very simple XML manipulation

2014-10-30 Thread Raniere Silva
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

Re: [Discuss] Teaching very simple XML manipulation

2014-10-30 Thread Aleksandra Pawlik
Dear All, What can I say...You are AMAZING :-) Thanks a lot for all emails and info. Very very useful already. Andrew, if it doesn't take too much of your time, can you point me to the old XPath exercises you mentioned? Yours truly grateful, Aleksandra On 30 October 2014 14:13, Andrew Walker

Re: [Discuss] Teaching very simple XML manipulation

2014-10-30 Thread Erik Bray
Hi, On Thu, Oct 30, 2014 at 10:13 AM, Andrew Walker [EAR] a.wal...@leeds.ac.uk wrote: If the lesson should be applicable to a wider range of documents I think BeautifulSoup is probably the way to go. If the idea is to learn about the details of XML I would probably start with an exercise

Re: [Discuss] Teaching very simple XML manipulation

2014-10-30 Thread Hetherington, James
One other quick point: for generating XML, I would recommend against using ETree or lxml: instead, a templating engine such as Jinja or Mako is more fluent and easier. (I think, YMMV.) -- Dr James Hetherington, Team Leader, Research Software Development Research IT Services University

Re: [Discuss] Targeting intermediate learners

2014-10-30 Thread Anja Boskovic
Hi all- I had a question about targeting appropriate enrolment for a course. I recently taught an intermediate Python workshop (intermediate as defined by the basics course preceding it) at my home institution. It filled within hours, which was encouraging. But, day of, about 1/5 of the

Re: [Discuss] Targeting intermediate learners

2014-10-30 Thread Sarah Mount
Hi everyone, sorry for top-posting. I think this sentence Learners will be expected to be familiar with control flow, basic Python objects (variable assignment, lists, dictionaries) and file input and output. may be your problem. Beginners will not know what they don't know, and it may not be

Re: [Discuss] Discuss Digest, Vol 15, Issue 32

2014-10-30 Thread Laurent Gatto
://wrightaprilm.github.io/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.software-carpentry.org/pipermail/discuss_lists.software-carpentry.org/attachments/20141030/4ceff255/attachment-0001.html ___ Discuss mailing

Re: [Discuss] [ANN - JOB] Assistant Researcher - Berkeley Institute for Data Science

2014-10-30 Thread Katy Huff
Thanks for the shout out Aron. It's all true. In addition to Dav and I, the Data Science Fellows include the excellent software carpentry instructors: Justin Kitzes, Karthik Ram, and brand new instructor Fatma Imamoglu, among many others. Don't forget - you'd get to hang out on a daily basis

Re: [Discuss] Targeting intermediate learners

2014-10-30 Thread Bill Mills
+1 Sarah, the code sample is an interesting idea, we should totally try it! But, I'd love to see some experimentation done to test my sneaking suspicion that struggling students don't read the advertisement text at all. I'm comfortable assuming that that's part of the effect - but how big a

Re: [Discuss] Targeting intermediate learners

2014-10-30 Thread Sarah Mount
Interesting stuff Bill. I guess the easy way to test your hypothesis is to seed the advert with something that you can reference afterwards. Please bring a photo of your local neighbourhood cat for our ice breaker session, please bring an apple for the instructor, please come carrying a placard

Re: [Discuss] Teaching very simple XML manipulation

2014-10-30 Thread Andrew Walker [EAR]
Hi Aleksandra, No problem. I've dug the old XPath exercises out from a dusty disk and made them accessible here: http://homepages.see.leeds.ac.uk/~earawa/FoX/iFaX/iFaX.3/ with the introductory slide deck here: http://homepages.see.leeds.ac.uk/~earawa/FoX/iFaX/Docs/Practical3_intro.pdf I

[Discuss] Git problems on Mac OS X 10.8

2014-10-30 Thread Greg Wilson
Hi, We had another couple of students run into Git doesn't run on Mac OS X 10.8 problems today - as with the workshop in Toronto at the beginning of the month, 'git --version' works fine, but anything beyond that (such as 'git init .') fails because of a symbol binding problem (missing

Re: [Discuss] Git problems on Mac OS X 10.8

2014-10-30 Thread Matt Davis
Looks like most of the advice comes down to install a different Git. You could track down an older installer for Macs, install GitHub for Mac ( https://mac.github.com/), or install the command line tools, either via XCode or by downloading just the command line tools from Apple's developer site

Re: [Discuss] Git problems on Mac OS X 10.8

2014-10-30 Thread Damien Irving
Hi Greg, After you've tried all these solutions tomorrow, perhaps you (or one of the other instructors you're with this week) could write a blog post and/or update the wiki ( https://github.com/swcarpentry/bc/wiki/Configuration-Problems-and-Solutions) to alert the community about the best way to