Hey Kevin, <br>
<br>
I think I see your issue.  So from <a href="http://docs.python.org/lib/typesseq-strings.html">http://docs.python.org/lib/typesseq-strings.html</a>:<br>
<br>

If <var>format</var> requires a single argument, <var>values</var> may be a
single non-tuple object.<a name="tex2html9" href="http://docs.python.org/lib/typesseq-strings.html#foot2430"></a>  Otherwise, <var>values</var> must be a tuple with
exactly the number of items specified by the format string, or a
single mapping object (for example, a dictionary).<br><br><div><span class="gmail_quote">On 11/14/05, <b class="gmail_sendername">Kevin Walzer</b> <<a href="mailto:sw@wordtech-software.com">sw@wordtech-software.com</a>
> wrote:</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">os.system('open -a X11.app; cd ~/; printenv; DISPLAY=:0.0; export<br>DISPLAY;  echo %s | sudo -S %s; sudo -k' %password %binpath)
<br><br><br>
</blockquote></div><br>
So the line above should be:<br>
<br>
os.system('open -a X11.app; cd ~/; printenv; DISPLAY=:0.0; export<br>
DISPLAY;  echo %s | sudo -S %s; sudo -k'  % (password binpath))<br>
<br>
try that.<br>
<br>
johnnie<br>