Re: Pexpect and a Linux Terminal

2007-12-25 Thread prikar20
On Dec 25, 8:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 25 déc, 10:14, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > On 25 déc, 09:41, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > Yes it's work ! :-D > > > > I use prompt = '.*#' to detect the prompt expect. Tha

Re: Sets in Python

2007-09-19 Thread prikar20
On Sep 19, 5:25 pm, Mark Dickinson <[EMAIL PROTECTED]> wrote: > On Sep 19, 7:26 pm, Karthik Gurusamy <[EMAIL PROTECTED]> wrote: > > > If I did, a = [10, 20] and I did d[a]= 'foo', then a.append(30). > > If dict complains key error on d[a] now, I won't be surprised. If I do > > d[[10, 20, 30]], I wi

Re: using subprocess for non-terminating command

2007-07-04 Thread prikar20
On Jul 4, 12:29 pm, "O.R.Senthil Kumaran" <[EMAIL PROTECTED]> wrote: > * Jerry Hill <[EMAIL PROTECTED]> [2007-07-04 11:23:33]: > > > > > That's because you tied stdin to a pipe in your Popen call, but then > > tried to read from stdout. Try this instead: > > My mistake. I had just 'typed' the co