On 25 déc, 15:49, [EMAIL PROTECTED] wrote:
> 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
>
> > > >
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
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. Thank you for you'r
> > help !
>
> > Vive Python et TK :-D
>
> I have another proble
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. Thank you for you'r
> > help !
>
> > Vive Python et TK :-D
>
> I have another proble
On 25 déc, 09:41, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Yes it's work ! :-D
>
> I use prompt = '.*#' to detect the prompt expect. Thank you for you'r
> help !
>
> Vive Python et TK :-D
I have another probleme, not directly from Pexpect() function. There
is my code :
from Tkinter impor
Yes it's work ! :-D
I use prompt = '.*#' to detect the prompt expect. Thank you for you'r
help !
Vive Python et TK :-D
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 24, 2007, at 7:06 PM, [EMAIL PROTECTED] wrote:
> hello,
>
> I'm new in Python and i would like to use Pexpect to execute a root
> command (i want to mount via a Pyhton script a drive)
>
> so that's my script for the moment :
>
> from os import *
> import pexpect
> import os
> cmd1="su -"
>
On Dec 24, 6:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> hello,
>
> I'm new in Python and i would like to use Pexpect to execute a root
> command (i want to mount via a Pyhton script a drive)
>
> so that's my script for the moment :
>
> from os import *
> import pexpect
> import os
> cm
hello,
I'm new in Python and i would like to use Pexpect to execute a root
command (i want to mount via a Pyhton script a drive)
so that's my script for the moment :
from os import *
import pexpect
import os
cmd1="su -"
cmd2="mount -o loop /home/user/my.iso /mnt/disk"
pwd="mypassword"
child = p