mirror of https://github.com/python/cpython
/usr/local/bin/python -> /usr/bin/env python
This commit is contained in:
parent
cd612d5e5c
commit
f06ee5fa07
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# 1) Regular Expressions Test
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# 2) Sorting Test
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# 3) System Test
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Call ibrowse (the info file browser) under UNIX.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
"""RCS Proxy.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
"""Turn a pile of RCS log output into ChangeLog file entries.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
"""Remote CVS -- command line interface"""
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
"Remote RCS -- command line interface"
|
||||
|
||||
|
|
|
@ -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: ...
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Factorize numbers.
|
||||
# The algorithm is not efficient, but easy to understand.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Extract statistics from ftp daemon log.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Watch line printer queue(s).
|
||||
# Intended for BSD 4.3 lpq.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
class Markov:
|
||||
def __init__(self, histsize, choice):
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
#######################################################################
|
||||
# Newslist $Revision$
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Print digits of pi forever.
|
||||
#
|
||||
|
|
|
@ -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] ...
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Print prime numbers in a given range
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
# script.py -- Make typescript of terminal session.
|
||||
# Usage:
|
||||
# -a Append to typescript.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# broadcast [port]
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# radio [port]
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# unicast host [port]
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
import sys
|
||||
import audio
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# JUKEBOX: browse directories full of sampled sound files.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
import sys
|
||||
import audio
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
import audio
|
||||
import stdwin
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# backface
|
||||
#
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# *** This only works correctly on a 24 bit-plane machine. ***
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
# Simulate the artwork in the hall.
|
||||
# Jack Jansen, Feb 91.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# "M Clock"
|
||||
#
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Rotate a 3D surface created using NURBS.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# zrgb (Requires Z buffer.)
|
||||
#
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Copy a video file, interactively, frame-by-frame.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Universal (non-interactive) CMIF video file copier.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Print some info about a CMIF movie file
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Compress an rgb or grey video file to jpeg format
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Play CMIF movie files
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Receive live video UDP packets.
|
||||
# Usage: Vreceive [port]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Print the value of all video parameters
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Manipulate the time base of CMIF movies
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Decompress a jpeg or jpeggrey video file to rgb format
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Play synchronous video and audio.
|
||||
# Highly experimental!
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /ufs/guido/bin/sgi/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Convert CMIF movie file(s) to a sequence of rgb images
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Python implementation of an 'echo' tcp server: echo all data it receives.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Python interface to the Internet finger daemon.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# A simple gopher client.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Remote python client.
|
||||
# Execute Python commands remotely and send output back.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Remote python server.
|
||||
# Execute Python commands remotely and send output back.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Minimal interface to the Internet telnet protocol.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Test network throughput.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Client and server for udp (datagram) echo.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
testlabels = 'Name', 'Address', 'City', 'Country', 'Comments'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# radiogroups.py
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# TestCSplit
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# TestDirList
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# TestFormSplit
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# TestSched
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Test TextEdit widgets
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# 'clock' -- A simple alarm clock
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Call ibrowse (the info file browser) under UNIX.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# XXX This only works on SGIs running IRIX 4.0 or higher
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Watch line printer queues (only works with BSD 4.3 lpq).
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# A minimal single-window text editor using STDWIN's text objects.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# A miniature multi-window editor using STDWIN's text objects.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# A STDWIN-based front end for the Python interpreter.
|
||||
#
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# View a single MIME multipart message.
|
||||
# Display each part as a box.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
# Tkinter interface to Linux `kill' command.
|
||||
|
||||
from Tkinter import *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Scan MH folder, display results in window
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Tkinter interface to SYSV `ps' and `kill' commands.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# Tk man page browser -- currently only shows the Tcl/Tk man pages
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# www1.py -- print the contents of a URL on stdout
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# www2.py -- print the contents of a URL on stdout
|
||||
# - error checking
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# www3.py -- print the contents of a URL on stdout
|
||||
# - error checking
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/local/bin/python
|
||||
#! /usr/bin/env python
|
||||
|
||||
# www4.py -- display the contents of a URL in a Text widget
|
||||
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue