cool, thanks<br>sk<br><br><div><span class="gmail_quote">On 5/11/07, <b class="gmail_sendername">Luke Paireepinart</b> &lt;<a href="mailto:rabidpoobear@gmail.com">rabidpoobear@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
shawn bright wrote:<br>&gt; lo there all,<br>&gt;<br>&gt; i have a simple thread that i want to run without piping any output to<br>&gt; the terminal.<br>&gt; like if i do an<br>&gt;<br>&gt; x = os.system(&quot;ping -c 1 
<a href="http://www.google.com">www.google.com</a> &lt;<a href="http://www.google.com">http://www.google.com</a>&gt;&quot;)<br>&gt;<br>&gt; i don&#39;t want it to show all the stuff in the terminal.<br>if you use os.popen
 or the subprocess module you can execute system<br>commands and have their output stored in file-like objects.<br>then if you don&#39;t want any output, don&#39;t read from them.<br>&gt;<br>&gt; can i disable it for only certain lines?
<br>yeah, just read in all lines and display the ones which meet your criteria.<br>&gt;<br>&gt; thanks<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Tutor maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br>&gt; <a href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a><br>&gt;<br><br></blockquote>
</div><br>