Re: [Tutor] Py/selenium bindings

2016-02-28 Thread Danny Yoo
On Sun, Feb 28, 2016 at 7:45 PM, bruce wrote: > Hi. > > This might be a bit beyond the group, but I figured no harm/no foul. > > I'm looking to access a site that's generated via javascript. The jscript > of the site is invoked via the browser, generating the displayed content. I agree with you

[Tutor] Py/selenium bindings

2016-02-28 Thread bruce
Hi. This might be a bit beyond the group, but I figured no harm/no foul. I'm looking to access a site that's generated via javascript. The jscript of the site is invoked via the browser, generating the displayed content. I'm testing using py/selenium bindings as docs indicate that the py/seleniu

Re: [Tutor] Convert structured 1D array to 2D array

2016-02-28 Thread Oscar Benjamin
On 26 February 2016 at 16:46, Ek Esawi wrote: > > I used genfromtxt to read a file with multiple data types. The result was a > 1D array of tuples; for example > > [(1, 2, 3), (‘a’, b’, ’c’), (‘12/12/2009’, ’2/4/2014’, ‘3/4/200)’] > > > > I am trying to convert this structured array to a 2D array.

Re: [Tutor] How to calculate high value from multiple lines for each column

2016-02-28 Thread Alan Gauld
On 28/02/16 11:37, Fosiul Alam wrote: > if i can i just ask you one more favour in related to this qustion. > > for key in values: > print "svtm-%s ,%s" % (key, max(values[key][0][1:])) > print "iostat-%s ,%s" % (key, max(values[key][1][1:])) > > Sure, what is i

Re: [Tutor] How to calculate high value from multiple lines for each column

2016-02-28 Thread Fosiul Alam
Thanks Alan bellow works perfect .. and thanks you very much for all your support I just need to do one thing which I should be able to do my self, hopefully will be able to finish the whole thing soon. if i can i just ask you one more favour in related to this qustion. for key in values:

Re: [Tutor] asyncio or threading

2016-02-28 Thread Alan Gauld
On 28/02/16 07:24, Zachary Ware wrote: >> (Not that I've seen too many examples, but the ones I have seen >> all used callbacks.) > > Could you point me towards some of those examples? As my followup post said they did actually mention coroutines as well, I just didn't pick up on it at the time.