"Brett Wilkins" <[EMAIL PROTECTED]> wrote
Just as a side point, wouldn't the easiest way be to run the script under sudo? It's safer imho than putting the sudo password in programmatically...

Yes, but he is (presumably) already using sudo within os.system.
He wants to avoid putting in the password so he must take the
security risks associated with that approach.

Caveat emptor as they say!

Alan G

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

Reply via email to