cpython/Tools/scripts
Guido van Rossum 79b2038aa4 When checking for equality, open the slave file in text mode so it
will compare equal even if the master file uses only \n to terminate
lines (this is by far the most common situation).  Also, check for the
case where the master file is missing, and print the time difference
in seconds when the slave file appears newer than the master (for
debugging).
1997-11-04 17:35:43 +00:00
..
README Moved pystone to Lib/test. Use import test.pystone to run it. 1997-09-16 18:57:42 +00:00
byteyears.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
checkpyc.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
classfix.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
copytime.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
cvsfiles.py Skip symlinks; don't bother keeping a list of files that is never used. 1997-09-16 18:57:14 +00:00
dutree.doc Initial revision 1992-03-02 16:20:32 +00:00
dutree.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
eptags.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
findlinksto.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
fixcid.py Correct comment; -c is off by default. 1997-05-15 21:51:16 +00:00
fixheader.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
fixnotice.py Script to fix cprt notice 1996-11-27 19:41:55 +00:00
fixps.py Changed so that it replaces /usr/local/bin/python with /usr/bin/env python. 1996-11-27 19:43:49 +00:00
ftpmirror.py Unlink before rename (for NT). 1997-05-19 15:20:49 +00:00
h2py.py support C++ comments 1997-08-14 20:14:29 +00:00
ifdef.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
linktree.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
lll.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
logmerge.py Fix comment to add the all-important trailing colon to the example. 1997-10-06 21:09:32 +00:00
mailerdaemon.py More changes by Sjoerd & Jack 1996-07-21 02:50:30 +00:00
methfix.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
mkreal.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
objgraph.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
pathfix.py Changed logic so it now replaces anything that has #! and python in 1996-11-27 19:43:01 +00:00
pdeps.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
pindent.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
ptags.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
suff.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
sum5.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
texi2html.py (texi2html.py): Minor improvement to HTML 3.0 output for code examples. 1996-10-25 22:13:59 +00:00
treesync.py When checking for equality, open the slave file in text mode so it 1997-11-04 17:35:43 +00:00
which.py Remove "." or "" from front of sys.path (this bit me once). 1997-10-20 23:48:01 +00:00
xxci.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00

README

This directory contains a collection of executable Python scripts that
are useful while building, extending or managing Python.  Some (e.g.,
dutree or lll) are also generally useful UNIX tools.

See also the Demo/scripts directory!

byteyears.py		Print product of a file's size and age
checkpyc.py		Check presence and validity of ".pyc" files
classfix.py		Convert old class syntax to new
copytime.py		Copy one file's atime and mtime to another
cvsfiles.py		Print a list of files that are under CVS
dutree.py		Format du(1) output as a tree sorted by size
eptags.py		Create Emacs TAGS file for Python modules
findlinksto.py		Recursively find symbolic links to a given path prefix
fixcid.py		Massive identifier substitution on C source files
fixheader.py		Add some cpp magic to a C include file
fixps.py		Fix Python scripts' first line (if #!)
ftpmirror.py		FTP mirror script
h2py.py			Translate #define's into Python assignments
ifdef.py		Remove #if(n)def groups from C sources
linktree.py		Make a copy of a tree with links to original files
lll.py			Find and list symbolic links in current directory
logmerge.py		Consolidate CVS/RCS logs read from stdin
methfix.py		Fix old method syntax def f(self, (a1, ..., aN)):
mkreal.py		Turn a symbolic link into a real file or directory
objgraph.py		Print object graph from nm output on a library
pathfix.py		Change #!/usr/local/bin/python into something else
pdeps.py		Print dependencies between Python modules
pindent.py		Indent Python code, giving block-closing comments
ptags.py		Create vi tags file for Python modules
suff.py			Sort a list of files by suffix
sum5.py			Print md5 checksums of files
treesync.py		Synchronize source trees (very ideosyncratic)
which.py		Find a program in $PATH
xxci.py			Wrapper for rcsdiff and ci