Hey Kevin,

I think I see your issue.  So from http://docs.python.org/lib/typesseq-strings.html:

If format requires a single argument, values may be a single non-tuple object. Otherwise, values must be a tuple with exactly the number of items specified by the format string, or a single mapping object (for example, a dictionary).

On 11/14/05, Kevin Walzer <[EMAIL PROTECTED] > wrote:
os.system('open -a X11.app; cd ~/; printenv; DISPLAY=:0.0; export
DISPLAY;  echo %s | sudo -S %s; sudo -k' %password %binpath)



So the line above should be:

os.system('open -a X11.app; cd ~/; printenv; DISPLAY=:0.0; export
DISPLAY;  echo %s | sudo -S %s; sudo -k'  % (password binpath))

try that.

johnnie
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to