os.popen output different from native shell output

2009-08-25 Thread nickname
Hi all, I am a relative newbie to python, I am using os.popen to run an ls command. The output that I get using the read() function is different in look and feel from when I run the ls command natively from the shell (not via python). I display the ouput via python by using the print functio

Re: os.popen output different from native shell output

2009-08-25 Thread nickname
On Aug 25, 6:16 am, Nobody wrote: > On Tue, 25 Aug 2009 01:36:08 -0700, nickname wrote: > >        I am a relative newbie to python, I am using os.popen to run an > > ls command. The output that I get using the read() function is > > different in look and feel from when

Re: os.popen output different from native shell output

2009-08-25 Thread nickname
ets stared only once, and not for every call to "ls". > > Have fun, >   Thomas > > nickname schrieb: > > > wow guys! thanks for all the great leads! this is awesome! > > > The reason why I want to do this is because I am going to do a little > > proje

how to log connection refused attempt with python-paramiko

2009-09-09 Thread nickname
hello all, I am getting to grips with paramiko. I am trying to open a ssh connection to my server 127.0.0.1 using paramiko and want to specify the password via the program itself. I want to generate and change passwds via the program very frequently and hence am avoiding a key based ap

Re: how to log connection refused attempt with python-paramiko

2009-09-09 Thread nickname
On Sep 9, 3:35 pm, nickname wrote: > hello all, >             I am getting to grips with paramiko. I am trying to open a > ssh connection to my server 127.0.0.1 using paramiko and want to > specify the password via the program itself. I want to generate  and > change passwds via t

Re: how to log connection refused attempt with python-paramiko

2009-09-09 Thread nickname
On Sep 9, 3:37 pm, nickname wrote: > On Sep 9, 3:35 pm, nickname wrote: > > > > > hello all, > >             I am getting to grips with paramiko. I am trying to open a > > ssh connection to my server 127.0.0.1 using paramiko and want to > > specify the passwo