well thanks for all the info, gents,&nbsp; i appreciate it a lot !<br>sk<br><br><div><span class="gmail_quote">On 11/26/06, <b class="gmail_sendername">زياد بن عبدالعزيز الباتلي</b> &lt;<a href="mailto:zamb@saudi.net.sa">zamb@saudi.net.sa
</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;">&quot;john maclean&quot; &lt;<a href="mailto:jayeola@gmail.com">jayeola@gmail.com
</a>&gt; On Sun, 26 Nov 2006 01:34:28 +0000<br>wrote:<br>&gt; From what I can tell/remember, the first works in the *nix environment<br>&gt; if python is in your $PATH, ...<br>Actually, no.&nbsp;&nbsp;The first will try to feed the script to the executable
<br>&quot;/usr/bin/python&quot;.&nbsp;&nbsp;If that doesn't exist (or is not executable) it'll<br>fail.<br><br>&gt; ...the latter will find python &quot;somehere&quot; on your system by looking at<br>&gt; wher the executables should be.
<br>True, assuming there's &quot;/usr/bin/env&quot; on your system (and is executable)<br>and that &quot;python&quot; is found in your &quot;$PATH&quot; (and is executable).<br><br><br>The problem is that Python is not installed in the same place on all
<br>OSes!&nbsp;&nbsp;Some will install it under &quot;/usr/local&quot;, others under &quot;/opt&quot;.<br><br>The idea of &quot;/usr/bin/env&quot; is that it's always installed there (or it<br>should be!).&nbsp;&nbsp;So, you don't need to figure out where is python (or perl,
<br>ruby, make, sed, awk, or any other executable that &quot;feeds&quot; on<br>scripts/text files) installed as long as it's in your &quot;$PATH&quot;.<br><br>(Of course, &quot;env&quot; have other uses.&nbsp;&nbsp;As long as I can tell, this is not
<br>the intended use of &quot;env&quot;.&nbsp;&nbsp;See &quot;info env&quot; for more information, or<br>if you don't have &quot;info&quot; see the manual.)<br><br>Ziyad.<br></blockquote></div><br>