-#!/usr/local/bin/python
+#!/usr/bin/env python3
"""CGI test 1 - check server setup."""
-#!/usr/local/bin/python
+#!/usr/bin/env python3
"""CGI test 2 - basic use of cgi module."""
-#!/usr/local/bin/python
+#!/usr/bin/env python3
"""CGI test 3 (persistent data)."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
# 1) Regular Expressions Test
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# 2) Sorting Test
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# 3) System Test
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# life.py -- A curses-based version of Conway's Game of Life.
# Contributed by AMK
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# $Id$
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# $Id$
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""repeat [-i SECONDS] <shell-command>
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# $Id$
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# The above line should get replaced with the path to the Python
# interpreter; the block below should get 2to3-converted.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# (Force the script to use the latest build.)
#
# test_parser.py
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""RCS Proxy.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Turn a pile of RCS log output into ChangeLog file entries.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Remote CVS -- command line interface"""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"Remote RCS -- command line interface"
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""A multi-threaded telnet-like server that gives a Python prompt.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# By GvR, demystified after a version by Fredrik Lundh.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Fix Python source files to use the new equality test operator, i.e.,
# if x = y: ...
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Factorize numbers.
# The algorithm is not efficient, but easy to understand.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
For each argument on the command line, look for it in the set of all Unicode
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Print From and Subject of messages in $MAIL.
# Extension to multiple mailboxes and other bells & whistles are left
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Watch line printer queue(s).
# Intended for BSD 4.3 lpq.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Like mkdir, but also make intermediate directories if necessary.
# It is not an error if the given directory already exists (as long
-#! /usr/bin/env python
+#! /usr/bin/env python3
class Markov:
def __init__(self, histsize, choice):
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Convert MH directories (1 message per file) or MMDF mailboxes (4x^A
# delimited) to unix mailbox (From ... delimited) on stdout.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# DAH should be three DOTs.
# Space between DOTs and DAHs should be one DOT.
-#! /usr/bin/env python
+#! /usr/bin/env python3
#######################################################################
# Newslist $Revision$
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Print digits of pi forever.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Emulate some Perl command line options.
# Usage: pp [-a] [-c] [-d] [-e scriptline] [-F fieldsep] [-n] [-p] [file] ...
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Print prime numbers in a given range
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""N queens problem.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# script.py -- Make typescript of terminal session.
# Usage:
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Calculate your unbirthday count (see Alice in Wonderland).
# This is defined as the number of days from your birth until today
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Update a bunch of files according to a script.
# The input file contains lines of the form <filename>:<lineno>:<text>,
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Python implementation of an 'echo' tcp server: echo all data it receives.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Python interface to the Internet finger daemon.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# A simple gopher client.
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Send/receive UDP multicast packets.
# Requires that your OS kernel supports IP multicast.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Remote python client.
# Execute Python commands remotely and send output back.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Remote python server.
# Execute Python commands remotely and send output back.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Minimal interface to the Internet telnet protocol.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Test network throughput.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Client and server for udp (datagram) echo.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# View a single MIME multipart message.
# Display each part as a box.
-#! /usr/bin/env python
+#! /usr/bin/env python3
from tkinter import *
from Canvas import Oval, Group, CanvasText
-#! /usr/bin/env python
+#! /usr/bin/env python3
# A Python function that generates dialog boxes with a text message,
# optional bitmap, and any number of buttons.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Simulate "electrons" migrating across the screen.
# An optional bitmap file in can be in the background.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Tkinter interface to Linux `kill' command.
from tkinter import *
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Scan MH folder, display results in window
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Play with the new Tk 8.0 toplevel menu option."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
# A Python program implementing rmt, an application for remotely
# controlling other Tk applications.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Solitaire game, much like the one that comes with MS Windows.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Sorting algorithms visualizer using Tkinter.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Tkinter interface to SYSV `ps' and `kill' commands.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Tk man page browser -- currently only shows the Tcl/Tk man pages
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo-I_dont_like_tiltdemo.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_bytedesign.py
-#!/usr/bin/python
+#!/usr/bin/env python3
# -*- coding: cp1252 -*-
""" turtle-example-suite:
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtlegraphics-example-suite:
tdemo_forest.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_fractalCurves.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
xtx_lindenmayer_indian.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_minimal_hanoi.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_paint.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_peace.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" xturtle-example-suite:
xtx_kites_and_darts.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_planets_and_moon.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_tree.py
-#!/usr/bin/python
+#!/usr/bin/env python3
""" turtle-example-suite:
tdemo_yinyang.py
-#!/usr/bin/python
+#!/usr/bin/env python3
import sys
import os
-#!/usr/bin/python
+#!/usr/bin/env python3
## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER!
"""turtle example: Using TurtleScreen and RawTurtle
for drawing on two distinct canvases.
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Demo program for zlib; it compresses or decompresses files, but *doesn't*
# delete the original. This doesn't support all of gzip's options.
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Takes an optional filename, defaulting to this file itself.
# Reads the file and compresses the content using level 1 and level 9
-#! /usr/bin/python
+#!/usr/bin/env python3
import smtplib
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Send the contents of a directory as a MIME message."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Unpack a MIME message into a directory of files."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Check for stylistic and formal issues in .rst and .py
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""RFC 3548: Base16, Base32, Base64 Data Encodings"""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Python interface for the 'lsprof' profiler.
Compatible with the 'profile' module.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""
Module difflib -- helpers for computing deltas between objects.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
####
-#! /usr/bin/env python
+#! /usr/bin/env python3
import os
import os.path
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Keywords (from "graminit.c")
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Token constants (from "token.h")."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright 2006 Google, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""A Python debugger."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" This module tries to retrieve as much platform-identifying data as
possible. It makes this information available via function APIs.
-#! /usr/bin/env python
+#! /usr/bin/env python3
#
# Class for profiling python code. rev 1.0 6/2/94
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: latin-1 -*-
"""Generate Python documentation in HTML or text for interactive use.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Conversions to/from quoted-printable transport encoding as per RFC 1521."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""An RFC 2821 smtp proxy.
Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]]
-#! /usr/bin/env python
+#! /usr/bin/env python3
'''SMTP/ESMTP client class.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Non-terminal symbols of Python grammar (from "graminit.h")."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""The Tab Nanny despises ambiguous indentation. She knows no mercy.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#-------------------------------------------------------------------
# tarfile.py
#-------------------------------------------------------------------
-#!/usr/bin/env python
+#!/usr/bin/env python3
# No bug report AFAIK, mail on python-dev on 2006-01-10
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# $Id: ncurses.py 36559 2004-07-18 05:56:09Z tim_one $
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""
"PYSTONE" Benchmark Program
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- mode: python -*-
# Re test suite and benchmark suite v1.5
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Regression test.
-#! /usr/bin/env python
+#! /usr/bin/env python3
import unittest
from test import support
import __future__
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Test the arraymodule.
Roger E. Masse
"""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Test script for the binhex C module
Uses the mechanism of the python binhex module
-#!/usr/bin/python
+#!/usr/bin/env python3
from test import support
from test.support import TESTFN
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Test script for the 'cmd' module
Original by Michael Schneider
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecencodings_cn.py
# Codec encoding tests for PRC encodings.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecencodings_hk.py
# Codec encoding tests for HongKong encodings.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecencodings_jp.py
# Codec encoding tests for Japanese encodings.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecencodings_kr.py
# Codec encoding tests for ROK encodings.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecencodings_tw.py
# Codec encoding tests for ROC encodings.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecmaps_cn.py
# Codec mapping tests for PRC encodings
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecmaps_hk.py
# Codec mapping tests for HongKong encodings
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecmaps_jp.py
# Codec mapping tests for Japanese encodings
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecmaps_kr.py
# Codec mapping tests for ROK encodings
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecmaps_tw.py
# Codec mapping tests for ROC encodings
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Test script for the dbm.open function based on testdumbdbm.py"""
import os
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Test script for the dumbdbm module
Original by Roger E. Masse
"""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""test script for a few new invalid token catches"""
import unittest
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Test the errno module
Roger E. Masse
"""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Test script for the gzip module.
"""
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Unit tests for the keyword only argument specified in PEP 3102."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright 2001-2010 by Vinay Sajip. All Rights Reserved.
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
from test import support
import marshal
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_multibytecodec.py
# Unit test for multibytecodec itself
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_multibytecodec_support.py
# Common Unittest Routines for CJK codecs
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Unit tests for the multiprocessing package
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Basic tests for os.popen()
Particularly useful for platforms that fake popen.
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import random
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from test import support
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from test import support
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import os
-#!/usr/bin/env python
+#!/usr/bin/env python3
import email
import threading
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from test import support
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from test import support
-#! /usr/bin/env python
+#! /usr/bin/env python3
from test import support
import unittest
-#!/usr/bin/env python
+#!/usr/bin/env python3
# UserString is a wrapper around the native builtin string type.
# UserString instances should behave similar to builtin string objects.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Unit tests for the with statement specified in PEP 343."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
import collections
import errno
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Tool for measuring execution time of small code snippets.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Token constants (from "token.h")."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
# portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
# err... reserved and offered to the public under the terms of the
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright 1994 by Lance Ellinghouse
# Cathedral City, California Republic, United States of America.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Interfaces for launching and remotely controlling Web browsers."""
# Maintained by Georg Brandl.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Generate C code for the jump table of the threaded code interpreter
(for compilers supporting computed gotos or "labels-as-values", such as gcc).
"""
-#! /usr/local/bin/python
+#!/usr/bin/env python3
"""FAQ wizard bootstrap."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Freeze a Python script into a binary.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Convert the X11 locale.alias file into a mapping dictionary suitable
for locale.py.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Written by Martin v. Löwis <loewis@informatik.hu-berlin.de>
-#! /usr/bin/env python
+#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Originally written by Barry Warsaw <barry@zope.com>
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# A Python function that generates dialog boxes with a text message,
# optional bitmap, and any number of buttons.
-#! /usr/bin/env python
+#! /usr/bin/env python3
#
# Modulator - Generate skeleton modules.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Print the product of age and size of each file, in suitable units.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Released to the public domain, by Tim Peters, 28 February 2000.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Check that all ".pyc" files exist and are up-to-date
# Uses module 'os'
-#! /usr/bin/env python
+#! /usr/bin/env python3
# This script is obsolete -- it is kept for historical purposes only.
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""cleanfuture [-d][-r][-v] path ...
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""
combinerefs path
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copy one file's atime and mtime to another
-#! /usr/bin/env python
+#! /usr/bin/env python3
"Replace CRLF with LF in argument files. Print names of changed files."
import sys, os
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Print a list of files that are mentioned in CVS directories.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Synopsis: %(prog)s [-h|-g|-b|-r|-a] dbfile [ picklefile ]
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Format du output in a tree shape
import os, sys, errno
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Create a TAGS file for Python programs, usable with GNU Emacs.
usage: eptags pyfiles...
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Find the maximum recursion limit that prevents interpreter termination.
This script finds the maximum safe recursion limit on a particular
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""finddiv - a grep-like tool that looks for division operators.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# findlinksto
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""List all those Python files that require a coding directive
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Perform massive identifier substitution on C source files.
# This actually tokenizes the files (to some extent) so it can
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""fixdiv - tool to fix division operators.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Add some standard cpp magic to a header file
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""(Ostensibly) fix copyright notices in files.
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Fix Python script(s) to reference the interpreter via /usr/bin/env python.
# Warning: this overwrites the file without making a backup.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Mirror a remote ftp subtree into a local directory tree.
-#! /usr/bin/env python
+#! /usr/bin/env python3
import sys, webbrowser
-#! /usr/bin/env python2.3
+#! /usr/bin/env python32.3
"""Transform gprof(1) output into useful HTML."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Read #define's and translate to Python code.
# Handle #include statements.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Selectively preprocess #ifdef / #ifndef statements.
# Usage:
-#! /usr/bin/env python
+#! /usr/bin/env python3
"Replace LF with CRLF in argument files. Print names of changed files."
-#! /usr/bin/env python
+#! /usr/bin/env python3
# linktree
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Find symbolic links and show where they point to.
# Arguments are directories to search; default is current directory.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Consolidate a bunch of CVS or RCS logs read from stdin.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Python utility to print MD5 checksums of argument files.
"""
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Fix Python source files to avoid using
# def method(self, (arg1, ..., argn)):
-#! /usr/bin/env python
+#! /usr/bin/env python3
# mkreal
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Module ndiff version 1.7.0
# Released to the public domain 08-Dec-2000,
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""nm2def.py
Helpers to extract symbols from Unix libs and auto-generate
-#! /usr/bin/env python
+#! /usr/bin/env python3
# objgraph
#
-#!/usr/local/bin/python
+#!/usr/bin/env python3
""" Utility for parsing HTML entity definitions available from:
http://www.w3.org/ as e.g.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# pdeps
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Synopsis: %(prog)s [-h|-b|-g|-r|-a|-d] [ picklefile ] dbfile
-#! /usr/bin/env python
+#! /usr/bin/env python3
# This file contains a class and a main program that perform three
# related (though complimentary) formatting operations on Python
-#! /usr/bin/env python
+#! /usr/bin/env python3
# ptags
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""\
List python source files.
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Make a reST file compliant to our pre-commit hook.
# Currently just remove trailing whitespace.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Released to the public domain, by Tim Peters, 03 October 2000.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Reverse grep.
-#!/usr/bin/env python
+#!/usr/bin/env python3
'''
Small wsgiref based web server. Takes a path to serve from and an
optional port number (defaults to 8000), then tries to serve files.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# suff
#
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""
SVN helper script.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Convert GNU texinfo files into HTML, one file per node.
# Based on Texinfo 2.14.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Script to synchronize two source trees.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"Replace tabs with spaces in argument files. Print names of changed files."
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Variant of "which".
# On stderr, near and total misses are reported.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# xxci
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# fetch the certificate that the server(s) are providing in PEM form
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" Compare the output of two codecs.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""GUI interface to webchecker.
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Original code by Guido van Rossum; extensive changes by Sam Bayer,
# including code to check URL fragments.
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""A variant on webchecker that creates a mirror copy of a remote site."""
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Tkinter-based GUI for websucker.