thebiggestbangthe...@gmail.com wrote:
> On May 28, 5:31 am, Sebastian Wiesner wrote:
>>
>>
>>> Your best bet is to make sudo not ask for a password. :) If you
>>> don't have the rights, then you can use pexpect to do what you want to
>>> do. http://pexpect.sourceforge.net/pexpect.html
>>> See
On May 28, 5:31 am, Sebastian Wiesner wrote:
>
>
> > Your best bet is to make sudo not ask for a password. :) If you
> > don't have the rights, then you can use pexpect to do what you want to
> > do. http://pexpect.sourceforge.net/pexpect.html
>
> > See the second example on that page.
>
> > c
> Your best bet is to make sudo not ask for a password. :) If you
> don't have the rights, then you can use pexpect to do what you want to
> do. http://pexpect.sourceforge.net/pexpect.html
>
> See the second example on that page.
>
> child = pexpect.spawn('scp foo myn...@host.example.com:.')
On Thu, May 28, 2009 at 9:11 AM, Sean DiZazzo wrote:
> On May 27, 6:10 pm, thebiggestbangthe...@gmail.com wrote:
> > hello everyone :-),
> > I am a newbie to python. I am trying to run a
> > bash script from within a python program. I would greatly appreciate
> > any point
On May 27, 6:10 pm, thebiggestbangthe...@gmail.com wrote:
> hello everyone :-),
> I am a newbie to python. I am trying to run a
> bash script from within a python program. I would greatly appreciate
> any pointers/comments about how to get around the problem I am facing.
>
hello everyone :-),
I am a newbie to python. I am trying to run a
bash script from within a python program. I would greatly appreciate
any pointers/comments about how to get around the problem I am facing.
I want to run bash script: code.sh from within a python program.
c