On Jan 11, 9:03 pm, John Bokma wrote:
> amadain writes:
> > On Jan 11, 7:26 pm, John Bokma wrote:
> >> amadain writes:
> >> > >> > uniq
On Jan 11, 7:26 pm, John Bokma wrote:
> amadain writes:
> > I have an event log with 100s of thousands of entries with logs of the
> > form:
>
> > > uniqueId="1
I have an event log with 100s of thousands of entries with logs of the
form:
I am using xml.sax to parse the event log. The trouble w
On Jun 8, 12:58 pm, Steven D'Aprano wrote:
> On Mon, 08 Jun 2009 12:14:18 +0100, Mark Devine wrote:
> > Hi
> > I wonder if someone could point me in the right direction. I used the
> > following code to access gmail but I got a
> > urllib2.URLError:
> > error when I ran it. I have includ
On Feb 23, 8:53 am, "amadain" <[EMAIL PROTECTED]> wrote:
> On Feb 23, 8:46 am, "amadain" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 21, 11:15 pm, [EMAIL PROTECTED] wrote:
>
> > > On Feb 21, 6:13 pm, [EMAIL PROTECTED] wrote:
>
>
On Feb 23, 8:46 am, "amadain" <[EMAIL PROTECTED]> wrote:
> On Feb 21, 11:15 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > On Feb 21, 6:13 pm, [EMAIL PROTECTED] wrote:
>
> > > I have apexpectscript to walk through a cisco terminal server and I
> > >
On Feb 21, 11:15 pm, [EMAIL PROTECTED] wrote:
> On Feb 21, 6:13 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > I have apexpectscript to walk through a cisco terminal server and I
> > was hoping to get some help with this regex because I really suck at
> > it.
>
> > This is the code:
>
> > index = s
On Feb 14, 3:32 pm, [EMAIL PROTECTED] wrote:
> On Feb 14, 7:53 am, "amadain" <[EMAIL PROTECTED]> wrote:
>
> > Hi
> > Heres a poser. I want to start a program 4 times at exactly the same
> > time (emulating 4 separate users starting up the same program). I
Hi
Heres a poser. I want to start a program 4 times at exactly the same
time (emulating 4 separate users starting up the same program). I am
using pexpect to run the program from 4 separate locations accross the
network. How do I start the programs running at exactly the same time?
I want to time h
Thanks all. I usually turn strings into arrays for processing. I was
looking to see if that was the best way to do it from others that use
python. No one else uses python in my company so its nice to get
different points of view from other python users from lists like this.
A
--
http://mail.pytho
On Feb 14, 12:16 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> amadain wrote:
> > Hi
> > I was wondering if there was a nicer way to swap the first 2
> > characters in a string with the 4th and 5th characters other than:
>
> > darr=list("
Hi
I was wondering if there was a nicer way to swap the first 2
characters in a string with the 4th and 5th characters other than:
darr=list("010203040506")
aarr=darr[:2]
barr=darr[4:6]
darr[:2]=barr
darr[4:6]=aarr
result="".join(darr)
The above code works fine but I was wondering if anybody had
use pexpect to set the prompt after the login.
class Login(General):
"""Class spawning an ssh expect instance"""
def __init__(self, user, host, pwd, cfg_name=None, log=None):
if cfg_name:
self.testcell = test_config(cfg_name)
13 matches
Mail list logo