[Tutor] loop through hours to calc max and plot

2014-03-18 Thread questions anon
Hi All, I have monthly netcdf files containing hourly temperature data. I would like to loop through all of the hours and calculate the max for each hour (00 - 23) and then make a plot. I have found a way for this to work for a couple of the hours (see below) but it requires a lot of set up to do e

Re: [Tutor] help

2014-03-18 Thread Alan Gauld
On 18/03/14 18:21, Joel Goldstick wrote: List On Mar 18, 2014 11:08 AM, "y j" mailto:yashp...@gmail.com>> wrote: how can i split a word into letters in python 2.7.6? or more specifically list(aString) - lowercase and with params. That will give you a list of the individual letters. Assum

Re: [Tutor] help

2014-03-18 Thread Joel Goldstick
List On Mar 18, 2014 11:08 AM, "y j" wrote: > how can i split a word into letters in python 2.7.6? > > -- > Y D Jain > > > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listi

Re: [Tutor] help (Splitting a word into letters)

2014-03-18 Thread David Rock
* y j [2014-03-18 16:41]: > how can i split a word into letters in python 2.7.6? Strings can already be accessed as arrays: >>> s='foobar' >>> print s[2] o >>> print s[4] a >>> print s[7] Traceback (most recent call last): File "", line 1, in IndexError: string index out of range >>> Can

[Tutor] help

2014-03-18 Thread y j
how can i split a word into letters in python 2.7.6? -- Y D Jain ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor