cpython/Tools/scripts
Guido van Rossum 805365ee39 Merged revisions 55007-55179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
  r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines

  Use the new print syntax, at least.
........
  r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line

  remove old cruftiness
........
  r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line

  make this work with the new Python
........
  r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line

  Get asdl code gen working with Python 2.3.  Should continue to work with 3.0
........
  r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line

  Verify checkins to p3yk (sic) branch go to 3000 list.
........
  r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line

  Fix this test so it runs again by importing warnings_test properly.
........
  r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines

  So long xrange.  range() now supports values that are outside
  -sys.maxint to sys.maxint.  floats raise a TypeError.

  This has been sitting for a long time.  It probably has some problems and
  needs cleanup.  Objects/rangeobject.c now uses 4-space indents since
  it is almost completely new.
........
  r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines

  Fix two tests that were previously depending on significant spaces
  at the end of a line (and before that on Python 2.x print behavior
  that has no exact equivalent in 3.0).
........
2007-05-07 22:24:25 +00:00
..
README Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
byext.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
byteyears.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
checkappend.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
checkpyc.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
classfix.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
cleanfuture.py PEP 3114: rename .next() to .__next__() and add next() builtin. 2007-04-21 15:47:16 +00:00
combinerefs.py Docstring clarifications. 2003-04-19 18:21:04 +00:00
copytime.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
crlf.py Whitespace normalization. 2004-08-09 18:54:11 +00:00
cvsfiles.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
db2pickle.py * explain flags in doc strings 2004-03-03 17:42:08 +00:00
diff.py Read the text files to be compared in universal-newline mode. 2004-10-03 19:03:19 +00:00
dutree.doc Initial revision 1992-03-02 16:20:32 +00:00
dutree.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
eptags.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
finddiv.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
findlinksto.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
findnocoding.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
fixcid.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
fixdiv.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
fixheader.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
fixnotice.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
fixps.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
ftpmirror.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
google.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
gprof2html.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
h2py.py Patch #1550800: make exec a function. 2006-09-06 06:51:57 +00:00
hotshotmain.py Keep option parser from gobbling up the filename to be profiled and the 2004-08-24 14:26:43 +00:00
idle [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
ifdef.py Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
lfcr.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
linktree.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
lll.py Whitespace normalization. 2004-08-09 18:54:11 +00:00
logmerge.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
mailerdaemon.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +00:00
md5sum.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
methfix.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
mkreal.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
ndiff.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
nm2def.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +00:00
objgraph.py Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
parseentities.py Whitespace normalization. 2001-01-17 08:48:39 +00:00
pathfix.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
pdeps.py Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
pickle2db.py * explain flags in doc strings 2004-03-03 17:42:08 +00:00
pindent.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
ptags.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pydoc [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pydocgui.pyw [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pysource.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
redemo.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
reindent.py Merged revisions 55007-55179 via svnmerge from 2007-05-07 22:24:25 +00:00
rgrep.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
setup.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
suff.py [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
svneol.py Deleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln. 2006-03-09 18:49:35 +00:00
texcheck.py Add two missing markup tags. 2006-01-23 21:31:00 +00:00
texi2html.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
treesync.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
untabify.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
which.py Whitespace normalization. 2004-08-09 18:54:11 +00:00
xxci.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +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!

byext.py		Print lines/words/chars stats of files by extension
byteyears.py		Print product of a file's size and age
checkappend.py		Search for multi-argument .append() calls
checkpyc.py		Check presence and validity of ".pyc" files
classfix.py		Convert old class syntax to new
cleanfuture.py		Fix reduntant Python __future__ statements
combinerefs.py		A helper for analyzing PYTHONDUMPREFS output.
copytime.py		Copy one file's atime and mtime to another
crlf.py			Change CRLF line endings to LF (Windows to Unix)
cvsfiles.py		Print a list of files that are under CVS
db2pickle.py		Dump a database file to a pickle
diff.py			Print file diffs in context, unified, or ndiff formats
dutree.py		Format du(1) output as a tree sorted by size
eptags.py		Create Emacs TAGS file for Python modules
finddiv.py		A grep-like tool that looks for division operators.
findlinksto.py		Recursively find symbolic links to a given path prefix
findnocoding.py		Find source files which need an encoding declaration
fixcid.py		Massive identifier substitution on C source files
fixdiv.py		Tool to fix division operators.
fixheader.py		Add some cpp magic to a C include file
fixnotice.py		Fix the copyright notice in source files
fixps.py		Fix Python scripts' first line (if #!)
ftpmirror.py		FTP mirror script
google.py		Open a webbrowser with Google.
gprof2html.py		Transform gprof(1) output into useful HTML.
h2py.py			Translate #define's into Python assignments
hotshotmain.py		Main program to run script under control of hotshot
idle			Main program to start IDLE
ifdef.py		Remove #if(n)def groups from C sources
lfcr.py			Change LF line endings to CRLF (Unix to Windows)
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
mailerdaemon.py		parse error messages from mailer daemons (Sjoerd&Jack)
md5sum.py		Print MD5 checksums of argument files.
methfix.py		Fix old method syntax def f(self, (a1, ..., aN)):
mkreal.py		Turn a symbolic link into a real file or directory
ndiff.py		Intelligent diff between text files (Tim Peters)
nm2def.py		Create a template for PC/python_nt.def (Marc Lemburg)
objgraph.py		Print object graph from nm output on a library
parseentities.py	Utility for parsing HTML entity definitions
pathfix.py		Change #!/usr/local/bin/python into something else
pdeps.py		Print dependencies between Python modules
pickle2db.py		Load a pickle generated by db2pickle.py to a database
pindent.py		Indent Python code, giving block-closing comments
ptags.py		Create vi tags file for Python modules
pydoc			Python documentation browser.
pysource.py		Find Python source files
redemo.py		Basic regular expression demonstration facility
reindent.py		Change .py files to use 4-space indents.
rgrep.py		Reverse grep through a file (useful for big logfiles)
setup.py		Install all scripts listed here.
suff.py			Sort a list of files by suffix
svneol.py		Sets svn:eol-style on all files in directory.
texcheck.py             Validate Python LaTeX formatting (Raymond Hettinger)
texi2html.py		Convert GNU texinfo files into HTML
treesync.py		Synchronize source trees (very ideosyncratic)
untabify.py		Replace tabs with spaces in argument files
which.py		Find a program in $PATH
xxci.py			Wrapper for rcsdiff and ci