Re: [Tutor] Runestone Python Course

2013-08-23 Thread Jim Mooney
But I discovered that if you delete the single leading blank in front of each line, then it works. Maybe their parser doesn't like unindented lines starting with a space... = That's odd. I haven't had any of those problems. I wonder if it's your browser. I'm using FF. Are you doing the fir

Re: [Tutor] How much in a "try" block?

2013-08-23 Thread Peter Otten
Alan Gauld wrote: > On 22/08/13 21:27, Chris Down wrote: > >> You can also use the "else" clause if there is stuff you want to run if >> the try block doesn't raise the caught exception, which avoids putting it >> in "try" if you don't intend to exit from the exception. > > I admit that I've nev

Re: [Tutor] How much in a "try" block?

2013-08-23 Thread leam hall
Well, maybe I'm looking at the wrong construct. The script needs to open up one file that will be on the machine. It will open up other files given as command line arguments and open files to write to. It should fail gracefully if it cannot open the files to be read or written. The community that w

Re: [Tutor] How much in a "try" block?

2013-08-23 Thread Chris Down
On 2013-08-23 01:30, Alan Gauld wrote: > Unless you really only want g(x) executed if there is no MyError exception > but want h(x) executed regardless. I've had that situation a few times before when using the logic "try this, or fall back to this if it doesn't work". > I'm curious, how often do

Re: [Tutor] Runestone Python Course

2013-08-23 Thread Francesco Loffredo
Omar Abou Mrad wrote: On Wed, Aug 21, 2013 at 7:52 AM, Jim Mooney mailto:cybervigila...@gmail.com>> wrote: http://interactivepython.org Would be nice if it worked though, logged in through my google account, now i get this error which I can do nothing about: Sorry, Something

Re: [Tutor] How to present python experience (self-taught) to potential employer

2013-08-23 Thread Japhy Bartlett
Jing - You demonstrate skill at writing python by writing python. If you don't have data, write something to scrape data. If you seriously can't think of any problems or interesting side projects to solve in either of your fields, bluntly, you're almost certainly worthless as a researcher. Go b

Re: [Tutor] How to present python experience (self-taught) to potential employer

2013-08-23 Thread Japhy Bartlett
One project is fine, unless your competition has finished two. Start at least with one script in each language that you want on your resume that does some sort of analysis on a set of data. With all due respect to Amit, if you are going for academic work don't bother with tests or documentation,

Re: [Tutor] How to present python experience (self-taught) to potential employer

2013-08-23 Thread Alan Gauld
On 23/08/13 03:45, Jing Ai wrote: time off from my PH internship. There's a job posting that looks really idea for me in the near future (a PH Research position) that requires "Python experience" and I wonder if any of you have any suggestions how I can demonstrate my python skills if I'm learn