convert shebang lines: python -> python3
This commit is contained in:
parent
e8c1f95090
commit
90f5ba538b
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""CGI test 1 - check server setup."""
|
"""CGI test 1 - check server setup."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""CGI test 2 - basic use of cgi module."""
|
"""CGI test 2 - basic use of cgi module."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""CGI test 3 (persistent data)."""
|
"""CGI test 3 (persistent data)."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 1) Regular Expressions Test
|
# 1) Regular Expressions Test
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 2) Sorting Test
|
# 2) Sorting Test
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 3) System Test
|
# 3) System Test
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# life.py -- A curses-based version of Conway's Game of Life.
|
# life.py -- A curses-based version of Conway's Game of Life.
|
||||||
# Contributed by AMK
|
# Contributed by AMK
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""repeat [-i SECONDS] <shell-command>
|
"""repeat [-i SECONDS] <shell-command>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# The above line should get replaced with the path to the Python
|
# The above line should get replaced with the path to the Python
|
||||||
# interpreter; the block below should get 2to3-converted.
|
# interpreter; the block below should get 2to3-converted.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
# (Force the script to use the latest build.)
|
# (Force the script to use the latest build.)
|
||||||
#
|
#
|
||||||
# test_parser.py
|
# test_parser.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""RCS Proxy.
|
"""RCS Proxy.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Turn a pile of RCS log output into ChangeLog file entries.
|
"""Turn a pile of RCS log output into ChangeLog file entries.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Remote CVS -- command line interface"""
|
"""Remote CVS -- command line interface"""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"Remote RCS -- command line interface"
|
"Remote RCS -- command line interface"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""A multi-threaded telnet-like server that gives a Python prompt.
|
"""A multi-threaded telnet-like server that gives a Python prompt.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# By GvR, demystified after a version by Fredrik Lundh.
|
# By GvR, demystified after a version by Fredrik Lundh.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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: ...
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Factorize numbers.
|
# Factorize numbers.
|
||||||
# The algorithm is not efficient, but easy to understand.
|
# The algorithm is not efficient, but easy to understand.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""
|
"""
|
||||||
For each argument on the command line, look for it in the set of all Unicode
|
For each argument on the command line, look for it in the set of all Unicode
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Watch line printer queue(s).
|
# Watch line printer queue(s).
|
||||||
# Intended for BSD 4.3 lpq.
|
# Intended for BSD 4.3 lpq.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
class Markov:
|
class Markov:
|
||||||
def __init__(self, histsize, choice):
|
def __init__(self, histsize, choice):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# DAH should be three DOTs.
|
# DAH should be three DOTs.
|
||||||
# Space between DOTs and DAHs should be one DOT.
|
# Space between DOTs and DAHs should be one DOT.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# Newslist $Revision$
|
# Newslist $Revision$
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Print digits of pi forever.
|
# Print digits of pi forever.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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] ...
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Print prime numbers in a given range
|
# Print prime numbers in a given range
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""N queens problem.
|
"""N queens problem.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# script.py -- Make typescript of terminal session.
|
# script.py -- Make typescript of terminal session.
|
||||||
# Usage:
|
# Usage:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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>,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Python implementation of an 'echo' tcp server: echo all data it receives.
|
# Python implementation of an 'echo' tcp server: echo all data it receives.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Python interface to the Internet finger daemon.
|
# Python interface to the Internet finger daemon.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# A simple gopher client.
|
# A simple gopher client.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Send/receive UDP multicast packets.
|
# Send/receive UDP multicast packets.
|
||||||
# Requires that your OS kernel supports IP multicast.
|
# Requires that your OS kernel supports IP multicast.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Remote python client.
|
# Remote python client.
|
||||||
# Execute Python commands remotely and send output back.
|
# Execute Python commands remotely and send output back.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Remote python server.
|
# Remote python server.
|
||||||
# Execute Python commands remotely and send output back.
|
# Execute Python commands remotely and send output back.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Minimal interface to the Internet telnet protocol.
|
# Minimal interface to the Internet telnet protocol.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Test network throughput.
|
# Test network throughput.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Client and server for udp (datagram) echo.
|
# Client and server for udp (datagram) echo.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# View a single MIME multipart message.
|
# View a single MIME multipart message.
|
||||||
# Display each part as a box.
|
# Display each part as a box.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
from tkinter import *
|
from tkinter import *
|
||||||
from Canvas import Oval, Group, CanvasText
|
from Canvas import Oval, Group, CanvasText
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
# Tkinter interface to Linux `kill' command.
|
# Tkinter interface to Linux `kill' command.
|
||||||
|
|
||||||
from tkinter import *
|
from tkinter import *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Scan MH folder, display results in window
|
# Scan MH folder, display results in window
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Play with the new Tk 8.0 toplevel menu option."""
|
"""Play with the new Tk 8.0 toplevel menu option."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Solitaire game, much like the one that comes with MS Windows.
|
"""Solitaire game, much like the one that comes with MS Windows.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Sorting algorithms visualizer using Tkinter.
|
"""Sorting algorithms visualizer using Tkinter.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Tkinter interface to SYSV `ps' and `kill' commands.
|
# Tkinter interface to SYSV `ps' and `kill' commands.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Tk man page browser -- currently only shows the Tcl/Tk man pages
|
# Tk man page browser -- currently only shows the Tcl/Tk man pages
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo-I_dont_like_tiltdemo.py
|
tdemo-I_dont_like_tiltdemo.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_bytedesign.py
|
tdemo_bytedesign.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: cp1252 -*-
|
# -*- coding: cp1252 -*-
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtlegraphics-example-suite:
|
""" turtlegraphics-example-suite:
|
||||||
|
|
||||||
tdemo_forest.py
|
tdemo_forest.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_fractalCurves.py
|
tdemo_fractalCurves.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
xtx_lindenmayer_indian.py
|
xtx_lindenmayer_indian.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_minimal_hanoi.py
|
tdemo_minimal_hanoi.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_paint.py
|
tdemo_paint.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_peace.py
|
tdemo_peace.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" xturtle-example-suite:
|
""" xturtle-example-suite:
|
||||||
|
|
||||||
xtx_kites_and_darts.py
|
xtx_kites_and_darts.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_planets_and_moon.py
|
tdemo_planets_and_moon.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_tree.py
|
tdemo_tree.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_yinyang.py
|
tdemo_yinyang.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER!
|
## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER!
|
||||||
"""turtle example: Using TurtleScreen and RawTurtle
|
"""turtle example: Using TurtleScreen and RawTurtle
|
||||||
for drawing on two distinct canvases.
|
for drawing on two distinct canvases.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Demo program for zlib; it compresses or decompresses files, but *doesn't*
|
# Demo program for zlib; it compresses or decompresses files, but *doesn't*
|
||||||
# delete the original. This doesn't support all of gzip's options.
|
# delete the original. This doesn't support all of gzip's options.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Takes an optional filename, defaulting to this file itself.
|
# Takes an optional filename, defaulting to this file itself.
|
||||||
# Reads the file and compresses the content using level 1 and level 9
|
# Reads the file and compresses the content using level 1 and level 9
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import smtplib
|
import smtplib
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""Send the contents of a directory as a MIME message."""
|
"""Send the contents of a directory as a MIME message."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""Unpack a MIME message into a directory of files."""
|
"""Unpack a MIME message into a directory of files."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Check for stylistic and formal issues in .rst and .py
|
# Check for stylistic and formal issues in .rst and .py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""RFC 3548: Base16, Base32, Base64 Data Encodings"""
|
"""RFC 3548: Base16, Base32, Base64 Data Encodings"""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Python interface for the 'lsprof' profiler.
|
"""Python interface for the 'lsprof' profiler.
|
||||||
Compatible with the 'profile' module.
|
Compatible with the 'profile' module.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Module difflib -- helpers for computing deltas between objects.
|
Module difflib -- helpers for computing deltas between objects.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Keywords (from "graminit.c")
|
"""Keywords (from "graminit.c")
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Token constants (from "token.h")."""
|
"""Token constants (from "token.h")."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright 2006 Google, Inc. All Rights Reserved.
|
# Copyright 2006 Google, Inc. All Rights Reserved.
|
||||||
# Licensed to PSF under a Contributor Agreement.
|
# Licensed to PSF under a Contributor Agreement.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
|
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""A Python debugger."""
|
"""A Python debugger."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
""" This module tries to retrieve as much platform-identifying data as
|
""" This module tries to retrieve as much platform-identifying data as
|
||||||
possible. It makes this information available via function APIs.
|
possible. It makes this information available via function APIs.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Class for profiling python code. rev 1.0 6/2/94
|
# Class for profiling python code. rev 1.0 6/2/94
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: latin-1 -*-
|
# -*- coding: latin-1 -*-
|
||||||
"""Generate Python documentation in HTML or text for interactive use.
|
"""Generate Python documentation in HTML or text for interactive use.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Conversions to/from quoted-printable transport encoding as per RFC 1521."""
|
"""Conversions to/from quoted-printable transport encoding as per RFC 1521."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
"""An RFC 2821 smtp proxy.
|
"""An RFC 2821 smtp proxy.
|
||||||
|
|
||||||
Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]]
|
Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
'''SMTP/ESMTP client class.
|
'''SMTP/ESMTP client class.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""Non-terminal symbols of Python grammar (from "graminit.h")."""
|
"""Non-terminal symbols of Python grammar (from "graminit.h")."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""The Tab Nanny despises ambiguous indentation. She knows no mercy.
|
"""The Tab Nanny despises ambiguous indentation. She knows no mercy.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
# tarfile.py
|
# tarfile.py
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# No bug report AFAIK, mail on python-dev on 2006-01-10
|
# No bug report AFAIK, mail on python-dev on 2006-01-10
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# $Id: ncurses.py 36559 2004-07-18 05:56:09Z tim_one $
|
# $Id: ncurses.py 36559 2004-07-18 05:56:09Z tim_one $
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
"""
|
"""
|
||||||
"PYSTONE" Benchmark Program
|
"PYSTONE" Benchmark Program
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue