README 3.4 KB
Newer Older
1 2 3 4 5 6
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!

Guido van Rossum's avatar
Guido van Rossum committed
7
byext.py		Print lines/words/chars stats of files by extension
8
byteyears.py		Print product of a file's size and age
9
checkappend.py		Search for multi-argument .append() calls
10 11
checkpyc.py		Check presence and validity of ".pyc" files
classfix.py		Convert old class syntax to new
12 13
cleanfuture.py		Fix reduntant Python __future__ statements
combinerefs.py		A helper for analyzing PYTHONDUMPREFS output.
14
copytime.py		Copy one file's atime and mtime to another
15
crlf.py			Change CRLF line endings to LF (Windows to Unix)
16
cvsfiles.py		Print a list of files that are under CVS
17
db2pickle.py		Dump a database file to a pickle
18
diff.py			Print file diffs in context, unified, or ndiff formats
19 20
dutree.py		Format du(1) output as a tree sorted by size
eptags.py		Create Emacs TAGS file for Python modules
21
finddiv.py		A grep-like tool that looks for division operators.
22
findlinksto.py		Recursively find symbolic links to a given path prefix
23
findnocoding.py		Find source files which need an encoding declaration
24
fixcid.py		Massive identifier substitution on C source files
25
fixdiv.py		Tool to fix division operators.
26
fixheader.py		Add some cpp magic to a C include file
27
fixnotice.py		Fix the copyright notice in source files
28
fixps.py		Fix Python scripts' first line (if #!)
29
ftpmirror.py		FTP mirror script
30 31
google.py		Open a webbrowser with Google.
gprof2html.py		Transform gprof(1) output into useful HTML.
32
h2py.py			Translate #define's into Python assignments
33
idle			Main program to start IDLE
34
ifdef.py		Remove #if(n)def groups from C sources
35
lfcr.py			Change LF line endings to CRLF (Unix to Windows)
36 37
linktree.py		Make a copy of a tree with links to original files
lll.py			Find and list symbolic links in current directory
Guido van Rossum's avatar
Guido van Rossum committed
38
logmerge.py		Consolidate CVS/RCS logs read from stdin
39
mailerdaemon.py		parse error messages from mailer daemons (Sjoerd&Jack)
40
md5sum.py		Print MD5 checksums of argument files.
41 42
methfix.py		Fix old method syntax def f(self, (a1, ..., aN)):
mkreal.py		Turn a symbolic link into a real file or directory
43 44
ndiff.py		Intelligent diff between text files (Tim Peters)
nm2def.py		Create a template for PC/python_nt.def (Marc Lemburg)
45
objgraph.py		Print object graph from nm output on a library
46
parseentities.py	Utility for parsing HTML entity definitions
47 48
pathfix.py		Change #!/usr/local/bin/python into something else
pdeps.py		Print dependencies between Python modules
49
pickle2db.py		Load a pickle generated by db2pickle.py to a database
50 51
pindent.py		Indent Python code, giving block-closing comments
ptags.py		Create vi tags file for Python modules
52
pydoc			Python documentation browser.
53
pysource.py		Find Python source files
54
redemo.py		Basic regular expression demonstration facility
55
reindent.py		Change .py files to use 4-space indents.
56
rgrep.py		Reverse grep through a file (useful for big logfiles)
57
setup.py		Install all scripts listed here.
58
suff.py			Sort a list of files by suffix
59
svneol.py		Sets svn:eol-style on all files in directory.
60
texcheck.py             Validate Python LaTeX formatting (Raymond Hettinger)
61
texi2html.py		Convert GNU texinfo files into HTML
62
treesync.py		Synchronize source trees (very ideosyncratic)
63
untabify.py		Replace tabs with spaces in argument files
64 65
which.py		Find a program in $PATH
xxci.py			Wrapper for rcsdiff and ci