cpython/Tools/scripts
Skip Montanaro 165163f245 add usage() function, -h(elp) flag and long versions of short flags 2004-03-27 18:43:56 +00:00
..
README add hotshotmain.py ref 2004-01-27 14:47:23 +00:00
byext.py Various improvements to the way the table is formatted, to deal with 2003-04-09 19:10:46 +00:00
byteyears.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
checkappend.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
checkpyc.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
classfix.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
cleanfuture.py Fix typo in module docstring. 2001-08-15 06:07:42 +00:00
combinerefs.py Docstring clarifications. 2003-04-19 18:21:04 +00:00
copytime.py Whitespace normalization. 2001-01-17 08:48:39 +00:00
crlf.py [Bug #724767] crlf.py uses the variable name file, which it shouldn't anymore. 2003-05-13 14:51:39 +00:00
cvsfiles.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +00:00
db2pickle.py * explain flags in doc strings 2004-03-03 17:42:08 +00:00
diff.py Added a command line interface for difflib.py 2003-06-08 23:04:17 +00:00
dutree.doc Initial revision 1992-03-02 16:20:32 +00:00
dutree.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
eptags.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
finddiv.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
findlinksto.py Use new name for GetoptError, and pass it two arguments 2003-02-06 19:55:35 +00:00
fixcid.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
fixdiv.py Fix a bunch of typos in documentation, docstrings and comments. 2003-10-20 14:01:56 +00:00
fixheader.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
fixnotice.py Added a module docstring, which doubles as the --help text. 2002-02-08 23:25:46 +00:00
fixps.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
ftpmirror.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
gencodec.py Fix comment typo. 2003-02-02 23:39:45 +00:00
google.py www.google.com is better than google.com. 2002-02-08 16:20:07 +00:00
gprof2html.py A tool to transform gprof(1) output into HTML, so you can click on a 2002-08-09 20:07:34 +00:00
h2py.py Expand negative hexadecimal constants. 2002-11-23 12:08:10 +00:00
hotshotmain.py The bagpipe didn't say "no" (*), so here's a main program script useful for 2004-01-26 19:44:48 +00:00
idle Put the main script for the new IDLE here. 2003-06-13 20:34:27 +00:00
ifdef.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
lfcr.py [Bug #724767] Avoid use of 'file' as a variable name 2003-05-13 17:09:01 +00:00
linktree.py Whitespace normalization. 2001-01-17 08:48:39 +00:00
lll.py Whitespace normalization. 2001-01-17 08:48:39 +00:00
logmerge.py When piping output into a pager like "less", quiting the pager before 2003-08-14 15:52:33 +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 This started opening files in text mode by default in the 2.3 release, 2003-08-18 23:52:09 +00:00
methfix.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
mkreal.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
ndiff.py Prevent script from allowing '-r12' 2003-05-13 17:56:07 +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 Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
parseentities.py Whitespace normalization. 2001-01-17 08:48:39 +00:00
pathfix.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
pdeps.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +00:00
pickle2db.py * explain flags in doc strings 2004-03-03 17:42:08 +00:00
pindent.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
ptags.py Fix use of 'file' as a variable name. 2003-05-13 18:14:25 +00:00
pydoc Call main routine in pydoc module (pydoc.cli). 2001-03-01 00:25:40 +00:00
pydocgui.pyw Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw 2001-08-05 05:43:20 +00:00
redemo.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
reindent.py add usage() function, -h(elp) flag and long versions of short flags 2004-03-27 18:43:56 +00:00
rgrep.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +00:00
setup.py install timeit.py as a command line script 2003-04-08 19:50:02 +00:00
suff.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
texcheck.py Generalize the last change to check for other markup spacing errors. 2003-09-08 18:43:46 +00:00
texi2html.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
treesync.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +00:00
untabify.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
which.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
xxci.py Apply diff2.txt from SF patch http://www.python.org/sf/572113 2002-09-11 20:36:02 +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
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
gencodec.py		Create Python codecs from Unicode mapping files
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.
redemo.py		Basic regular expression demostration 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
texcheck.py             Validate Python LaTeX formatting (Raymond Hettinger)
texi2html.py		Convert GNU texinfo files into HTML
trace.py		Trace Python program or function execution
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