[Tutor] Instantiating a list of strings into a list of classes

2010-03-05 Thread Daryl V
Hello All- I cut my teeth of Fortran95, and in the distant past rode the turtle, and while I enjoy the mind-bendy feeling of shifting my programming paradigm (and LOVE LOVE LOVE Python), I get sheepish when I feel I'm missing something basic. So: I have a csv list of data, of the form: plot, utmN

Re: [Tutor] How to convert seconds to hh:mm:ss format

2012-02-16 Thread Daryl V
You've gotten some really excellent advice about how to approach working with the time format. Here's a chunk of code I use quite a bit. It's probably sub-optimal, but playing with it might help you come up with a solution that works for your application. def Int2Digit(integer): if integer