running commands with sudo & python

db duikboot at localhost.localdomain
Fri Sep 29 09:32:44 CEST 2006

Hi there,

I think you can do that with pexpect

good luck

On Thu, 28 Sep 2006 14:18:14 -0700, coldsoul4e wrote:
> Hi!
> I must execute a command with os.command(), but with root permissions.
> Is there anyway to do that with python? 
> Thanks

More information about the Python-list mailing list