/usr/local/bin/python -> /usr/bin/env python

This commit is contained in:
Guido van Rossum 1996-11-27 19:52:01 +00:00
parent cd612d5e5c
commit f06ee5fa07
141 changed files with 146 additions and 143 deletions

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Fix Python source files to use the new equality test operator, i.e.,
# if x = y: ...

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Factorize numbers.
# The algorithm is not efficient, but easy to understand.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Print From and Subject of messages in $MAIL.
# Extension to multiple mailboxes and other bells & whistles are left

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Extract statistics from ftp daemon log.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Watch line printer queue(s).
# Intended for BSD 4.3 lpq.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Like mkdir, but also make intermediate directories if necessary.
# It is not an error if the given directory already exists (as long

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
class Markov:
def __init__(self, histsize, choice):

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Convert MH directories (1 message per file) or MMDF mailboxes (4x^A
# delimited) to unix mailbox (From ... delimited) on stdout.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# A rather specialized script to make sure that a symbolic link named
# RCS exists pointing to a real RCS directory in a parallel tree

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Print digits of pi forever.
#
# The algorithm, using Python's 'long' integers ("bignums"), works

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
#######################################################################
# Newslist $Revision$
#

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Print digits of pi forever.
#

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Emulate some Perl command line options.
# Usage: pp [-a] [-c] [-d] [-e scriptline] [-F fieldsep] [-n] [-p] [file] ...

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Print prime numbers in a given range

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# script.py -- Make typescript of terminal session.
# Usage:
# -a Append to typescript.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Calculate your unbirthday count (see Alice in Wonderland).
# This is defined as the number of days from your birth until today

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Update a bunch of files according to a script.
# The input file contains lines of the form <filename>:<lineno>:<text>,