A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/005412.html below:

[ Patch #100719 ] Use '#!/usr/bin/env python' in scripts

[Python-Dev] Re: [ Patch #100719 ] Use '#!/usr/bin/env python' in scripts [Python-Dev] Re: [ Patch #100719 ] Use '#!/usr/bin/env python' in scriptsFred L. Drake, Jr. fdrake@beopen.com
Tue, 4 Jul 2000 13:40:56 -0400 (EDT)
Fredrik Lundh writes:
 > This patch suggests changing /usr/local/bin/python to
 > /usr/bin/env python in cgi.py and faqwiz.py.   Note
 > that both scripts are CGI scripts, and the FAQ has the
 > following to say about that:
 > 
 >     http://www.python.org/doc/FAQ.html#4.63 
 > 
 >     Note -- *don't* do this for CGI scripts. The $PATH 
 >     variable for CGI scripts is often very minimal, so 
 >     you need to use the actual absolute pathname of
 >     the interpreter.
 > 
 > -1, in other words (assuming that the FAQ is correct)

  The FAQ is correct.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4