Hello list,

I'm new in python, and I have a question about a program I am writing.

I want ton make an application that shows me a system variable, and
when it changes, but I am having a trouble when I try to run the  command.

The command is smartctl on the hdd, and it can be only accesed by  su.

When I run the command os.system in python, obviously he asks me for the
password, and the program stops until I wirte it. . Is there any way to
write
the password from the python script?, or what do you recommend me?


Thanks in advance,

_Ricardo
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to