/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
# 1) Regular Expressions Test # 1) Regular Expressions Test
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# 2) Sorting Test # 2) Sorting Test
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# 3) System Test # 3) System Test
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Call ibrowse (the info file browser) under UNIX. # Call ibrowse (the info file browser) under UNIX.

View file

@ -1,4 +1,4 @@
#! /projects/python/Python-1.4b2/python #! /usr/bin/env python
# (Force the script to use the latest build.) # (Force the script to use the latest build.)
# #
# test_parser.py # test_parser.py

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
"""RCS Proxy. """RCS Proxy.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
"""Turn a pile of RCS log output into ChangeLog file entries. """Turn a pile of RCS log output into ChangeLog file entries.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
"""Remote CVS -- command line interface""" """Remote CVS -- command line interface"""

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
"Remote RCS -- command line interface" "Remote RCS -- command line interface"

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., # Fix Python source files to use the new equality test operator, i.e.,
# if x = y: ... # if x = y: ...

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Factorize numbers. # Factorize numbers.
# The algorithm is not efficient, but easy to understand. # 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. # Print From and Subject of messages in $MAIL.
# Extension to multiple mailboxes and other bells & whistles are left # 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. # 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). # Watch line printer queue(s).
# Intended for BSD 4.3 lpq. # 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. # Like mkdir, but also make intermediate directories if necessary.
# It is not an error if the given directory already exists (as long # 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: class Markov:
def __init__(self, histsize, choice): 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 # Convert MH directories (1 message per file) or MMDF mailboxes (4x^A
# delimited) to unix mailbox (From ... delimited) on stdout. # 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 # A rather specialized script to make sure that a symbolic link named
# RCS exists pointing to a real RCS directory in a parallel tree # 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. # Print digits of pi forever.
# #
# The algorithm, using Python's 'long' integers ("bignums"), works # 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$ # Newslist $Revision$
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Print digits of pi forever. # 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. # Emulate some Perl command line options.
# Usage: pp [-a] [-c] [-d] [-e scriptline] [-F fieldsep] [-n] [-p] [file] ... # 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 # 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. # script.py -- Make typescript of terminal session.
# Usage: # Usage:
# -a Append to typescript. # -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). # Calculate your unbirthday count (see Alice in Wonderland).
# This is defined as the number of days from your birth until today # 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. # Update a bunch of files according to a script.
# The input file contains lines of the form <filename>:<lineno>:<text>, # The input file contains lines of the form <filename>:<lineno>:<text>,

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# broadcast [port] # broadcast [port]
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# radio [port] # radio [port]
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# unicast host [port] # unicast host [port]
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/python #! /usr/bin/env python
import sys import sys
import audio import audio

View file

@ -1,4 +1,4 @@
#! /usr/local/python #! /usr/bin/env python
# JUKEBOX: browse directories full of sampled sound files. # JUKEBOX: browse directories full of sampled sound files.
# #

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
import sys import sys
import audio import audio

View file

@ -1,4 +1,4 @@
#! /usr/local/python #! /usr/bin/env python
import audio import audio
import stdwin import stdwin

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# backface # backface
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Print the values of all values that can be inquired with getgdesc(). # Print the values of all values that can be inquired with getgdesc().
# See man getgdesc() for a description. # See man getgdesc() for a description.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# *** This only works correctly on a 24 bit-plane machine. *** # *** This only works correctly on a 24 bit-plane machine. ***
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Simulate the artwork in the hall. # Simulate the artwork in the hall.
# Jack Jansen, Feb 91. # Jack Jansen, Feb 91.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# "M Clock" # "M Clock"
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Use Gouraud shading to mix colors. Requires Z-buffer. # Use Gouraud shading to mix colors. Requires Z-buffer.
# It changes the color assignments so fast that you see white. # It changes the color assignments so fast that you see white.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Rotate a 3D surface created using NURBS. # Rotate a 3D surface created using NURBS.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# zrgb (Requires Z buffer.) # zrgb (Requires Z buffer.)
# #

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python #! /usr/bin/env python
# Send live video UDP packets. # Send live video UDP packets.
# Usage: Vsend [-b] [-h height] [-p port] [-s size] [-t ttl] [-w width] # Usage: Vsend [-b] [-h height] [-p port] [-s size] [-t ttl] [-w width]

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Copy a video file, interactively, frame-by-frame. # Copy a video file, interactively, frame-by-frame.

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Add a cache to each of the files given as command line arguments # Add a cache to each of the files given as command line arguments

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Video bag of tricks: record video(+audio) in various formats and modes # Video bag of tricks: record video(+audio) in various formats and modes

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Universal (non-interactive) CMIF video file copier. # Universal (non-interactive) CMIF video file copier.

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Edit CMIF movies interactively -- copy one or more files to an output file # Edit CMIF movies interactively -- copy one or more files to an output file

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python #! /usr/bin/env python
# Copy a video file, fixing the line width to be a multiple of 4 # Copy a video file, fixing the line width to be a multiple of 4

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Print some info about a CMIF movie file # Print some info about a CMIF movie file

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python #! /usr/bin/env python
# Compress an rgb or grey video file to jpeg format # Compress an rgb or grey video file to jpeg format

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Play CMIF movie files # Play CMIF movie files

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
#! /ufs/guido/bin/sgi/python-405 #! /ufs/guido/bin/sgi/python-405
# Capture a CMIF movie using the Indigo video library and board # Capture a CMIF movie using the Indigo video library and board

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Capture a CMIF movie using the Indigo video library and board in burst mode # Capture a CMIF movie using the Indigo video library and board in burst mode

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python #! /usr/bin/env python
# Receive live video UDP packets. # Receive live video UDP packets.
# Usage: Vreceive [port] # Usage: Vreceive [port]

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python #! /usr/bin/env python
# Send live video UDP packets. # Send live video UDP packets.
# Usage: Vsend [-b] [-h height] [-p port] [-s size] [-t ttl] [-w width] # Usage: Vsend [-b] [-h height] [-p port] [-s size] [-t ttl] [-w width]

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Print the value of all video parameters # Print the value of all video parameters

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Manipulate the time base of CMIF movies # Manipulate the time base of CMIF movies

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python #! /usr/bin/env python
# Decompress a jpeg or jpeggrey video file to rgb format # Decompress a jpeg or jpeggrey video file to rgb format

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Play synchronous video and audio. # Play synchronous video and audio.
# Highly experimental! # Highly experimental!

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python #! /usr/bin/env python
# Convert CMIF movie file(s) to a sequence of rgb images # Convert CMIF movie file(s) to a sequence of rgb images

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Python implementation of an 'echo' tcp server: echo all data it receives. # Python implementation of an 'echo' tcp server: echo all data it receives.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Python interface to the Internet finger daemon. # Python interface to the Internet finger daemon.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# A simple gopher client. # A simple gopher client.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Remote python client. # Remote python client.
# Execute Python commands remotely and send output back. # Execute Python commands remotely and send output back.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Remote python server. # Remote python server.
# Execute Python commands remotely and send output back. # Execute Python commands remotely and send output back.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Minimal interface to the Internet telnet protocol. # Minimal interface to the Internet telnet protocol.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Test network throughput. # Test network throughput.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Client and server for udp (datagram) echo. # Client and server for udp (datagram) echo.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
testlabels = 'Name', 'Address', 'City', 'Country', 'Comments' testlabels = 'Name', 'Address', 'City', 'Country', 'Comments'

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# radiogroups.py # radiogroups.py
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# TestCSplit # TestCSplit

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# TestDirList # TestDirList

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# TestFormSplit # TestFormSplit

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# TestSched # TestSched

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Test TextEdit widgets # Test TextEdit widgets

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# 'clock' -- A simple alarm clock # 'clock' -- A simple alarm clock

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Call ibrowse (the info file browser) under UNIX. # Call ibrowse (the info file browser) under UNIX.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# XXX This only works on SGIs running IRIX 4.0 or higher # XXX This only works on SGIs running IRIX 4.0 or higher

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Watch line printer queues (only works with BSD 4.3 lpq). # Watch line printer queues (only works with BSD 4.3 lpq).
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# A minimal single-window text editor using STDWIN's text objects. # A minimal single-window text editor using STDWIN's text objects.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# A miniature multi-window editor using STDWIN's text objects. # A miniature multi-window editor using STDWIN's text objects.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# A STDWIN-based front end for the Python interpreter. # A STDWIN-based front end for the Python interpreter.
# #

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# A window-oriented recursive diff utility. # A window-oriented recursive diff utility.
# NB: This uses undocumented window classing modules. # NB: This uses undocumented window classing modules.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# View a single MIME multipart message. # View a single MIME multipart message.
# Display each part as a box. # Display each part as a box.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# A Python function that generates dialog boxes with a text message, # A Python function that generates dialog boxes with a text message,
# optional bitmap, and any number of buttons. # optional bitmap, and any number of buttons.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Simulate "electrons" migrating across the screen. # Simulate "electrons" migrating across the screen.
# An optional bitmap file in can be in the background. # An optional bitmap file in can be in the background.

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/python #! /usr/bin/env python
# Tkinter interface to Linux `kill' command. # Tkinter interface to Linux `kill' command.
from Tkinter import * from Tkinter import *

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Scan MH folder, display results in window # Scan MH folder, display results in window

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# A Python program implementing rmt, an application for remotely # A Python program implementing rmt, an application for remotely
# controlling other Tk applications. # controlling other Tk applications.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Tkinter interface to SYSV `ps' and `kill' commands. # Tkinter interface to SYSV `ps' and `kill' commands.

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# Tk man page browser -- currently only shows the Tcl/Tk man pages # Tk man page browser -- currently only shows the Tcl/Tk man pages

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www1.py -- print the contents of a URL on stdout # www1.py -- print the contents of a URL on stdout

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www10.py -- display the contents of a URL in a Text widget # www10.py -- display the contents of a URL in a Text widget
# - set window title # - set window title

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www11.py -- display the contents of a URL in a Text widget # www11.py -- display the contents of a URL in a Text widget
# - set window title # - set window title

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www12.py -- display the contents of a URL in a Text widget # www12.py -- display the contents of a URL in a Text widget
# - set window title # - set window title

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www13.py -- display the contents of a URL in a Text widget # www13.py -- display the contents of a URL in a Text widget
# - set window title # - set window title

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www2.py -- print the contents of a URL on stdout # www2.py -- print the contents of a URL on stdout
# - error checking # - error checking

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www3.py -- print the contents of a URL on stdout # www3.py -- print the contents of a URL on stdout
# - error checking # - error checking

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www4.py -- display the contents of a URL in a Text widget # www4.py -- display the contents of a URL in a Text widget

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python #! /usr/bin/env python
# www5.py -- display the contents of a URL in a Text widget # www5.py -- display the contents of a URL in a Text widget
# - set window title # - set window title

Some files were not shown because too many files have changed in this diff Show more