/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
#

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# 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.

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
"""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.

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
"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.,
# 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>,

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/python
#! /usr/bin/env python
# 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 audio

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# 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().
# 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. ***
#

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# "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.
# 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.
#

View file

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

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python
#! /usr/bin/env python
# Send live video UDP packets.
# 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.

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

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

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python
#! /usr/bin/env python
# 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

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

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python
#! /usr/bin/env python
# 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

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python
#! /usr/bin/env python
# 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
# 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

View file

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

View file

@ -1,4 +1,4 @@
#!/ufs/guido/bin/sgi/python
#! /usr/bin/env python
# Send live video UDP packets.
# 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

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python
#! /usr/bin/env python
# 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

View file

@ -1,4 +1,4 @@
#! /ufs/guido/bin/sgi/python
#! /usr/bin/env python
# Play synchronous video and audio.
# 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

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.
#

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# 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.
#

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# Remote python client.
# 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.
# 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.
#

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# 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'

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# '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.

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

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).
#

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.
#

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# 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.
#

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# A window-oriented recursive diff utility.
# 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.
# 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,
# 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.
# 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.
from Tkinter import *

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# 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
# 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.

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

View file

@ -1,4 +1,4 @@
#! /usr/local/bin/python
#! /usr/bin/env python
# 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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

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
# - set window title

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