Looks like that is the best available option..
Thank you all folks for your time and assistance.
Regards,
KartheeK
Rishabh Manocha <[EMAIL PROTECTED]> wrote: In that case, why not use what
gnuyoga suggested - i.e. -
commands.getstatusoutput("scp ..."). If the first entry in th
ly proceed further to process it.
KartheeK
Rishabh Manocha <[EMAIL PROTECTED]> wrote: Kartheek,
It seems like what you want to do is a bit complicated -
http://www.linuxquestions.org/questions/linux-general-1/how-to-redirect-the-scp-command-output-to-text-file.-629034/.
Maybe if you can expl
capturing the above output in a string.
gnuyoga <[EMAIL PROTECTED]> wrote: KartheeK wrote:
> Hi,
>
> I tried that too but it also for some reasons fails to capture scp
> output although it can capture things like ping.
> command.getstatusoutput returns exit code but not the strin
Hi,
I tried that too but it also for some reasons fails to capture scp output
although it can capture things like ping.
command.getstatusoutput returns exit code but not the string.
KartheeK
gnuyoga <[EMAIL PROTECTED]> wrote: KartheeK wrote:
> Hi Anand,
>
> This works for l
Hi Anand,
This works for ls, I also tried it to capture ping.
But for some unknown reasons it is not able to capture scp's output.
The variable f is empty.
KartheeK
Anand Balachandran Pillai <[EMAIL PROTECTED]> wrote: Using os.popen for this is
straight-forward.
Example...
[EMAI
Hi Rishabh,
Unfortunately the remote servers that house these config files do not have them
on either www or ftp, my only mode of access is scp
This was a good learning for me , i did not know that something like urllib
existed..
Thanks for the inputs
KartheeK
Rishabh Manocha <[EM
to process the standard output so that I can confirm if
the download did happen completely/correctly.
Please pass on any hints..
Thanks,
KartheeK
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
Hi,
Why dont u export it to a ,txt file and then read it as a normal file..
KartheeK
sambasivareddy <[EMAIL PROTECTED]> wrote: Hi all,
Need help on How can I read an excel sheet using python?
If any one have any example please send to me. Thanks in advance.
Thanks a lot, that worked :)
Pythonic <[EMAIL PROTECTED]> wrote: You may want to try commands
module
import commands
cmd = 'ls'
status, output = commands.getstatusoutput(cmd)
print output
Pavithra Hanchagaiah wrote: Hey Karth
[ssh, "-l", user, ip] + ['cat
/tmp/temp.conf']
but that does not work out.
Regards,
KartheeK
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
10 matches
Mail list logo