cpython/Tools/scripts
Victor Stinner d5f2b5421a Fix reindent-rst.py: it works on binary files 2010-08-18 21:59:12 +00:00
..
2to3 Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). 2010-08-09 08:29:08 +00:00
README Update README, remove obsolete scripts. 2010-08-02 22:53:22 +00:00
analyze_dxp.py Merged revisions 69811,69947 via svnmerge from 2009-02-26 18:55:48 +00:00
byext.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
byteyears.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
checkpyc.py Fix ``Tools/scripts/checkpyc.py`` after PEP 3147. 2010-08-09 12:26:44 +00:00
cleanfuture.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
combinerefs.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
copytime.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
crlf.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
db2pickle.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +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
dutree.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
eptags.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
find_recursionlimit.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
finddiv.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
findlinksto.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
findnocoding.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixcid.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixdiv.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixheader.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixnotice.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
fixps.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
ftpmirror.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
google.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
gprof2html.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
h2py.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
idle3 install idle and pydoc with a 3 suffix #5756 2009-04-25 21:11:45 +00:00
ifdef.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
lfcr.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
linktree.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
lll.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
mailerdaemon.py Merged revisions 78779 via svnmerge from 2010-03-21 22:42:02 +00:00
make_ctype.py Silly script I'd rather not throw away. 2007-10-09 17:30:03 +00:00
md5sum.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
mkreal.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
ndiff.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
nm2def.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
objgraph.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
parseentities.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
patchcheck.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
pathfix.py correct the fixpath.py script to work in Python 3 #6999 2009-09-25 20:56:52 +00:00
pdeps.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
pickle2db.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
pindent.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
ptags.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
pydoc3 install idle and pydoc with a 3 suffix #5756 2009-04-25 21:11:45 +00:00
pydocgui.pyw [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
pysource.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
redemo.py fix some imports 2009-11-09 00:42:58 +00:00
reindent-rst.py Fix reindent-rst.py: it works on binary files 2010-08-18 21:59:12 +00:00
reindent.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
rgrep.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
serve.py Issue #8867: Fix `Tools/scripts/serve.py` to work with files containing 2010-08-03 17:09:36 +00:00
suff.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
svneol.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
texi2html.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
treesync.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
untabify.py Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
which.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
win_add2path.py Fix unicode literal. 2010-08-02 22:59:44 +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!

2to3                    Main script for running the 2to3 conversion tool
analyze_dxp.py          Analyzes the result of sys.getdxp()
byext.py                Print lines/words/chars stats of files by extension
byteyears.py            Print product of a file's size and age
checkpyc.py             Check presence and validity of ".pyc" files
cleanfuture.py          Fix redundant 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)
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
find_recursionlimit.py  Find the maximum recursion limit on this machine 
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
idle3                   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
mailerdaemon.py         Parse error messages from mailer daemons (Sjoerd&Jack)
make_ctype.py           Generate ctype.h replacement in stringobject.c
md5sum.py               Print MD5 checksums of argument files
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
patchcheck.py           Perform common checks and cleanup before committing
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
pydoc3                  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
reindent-rst.py         Fix-up reStructuredText file whitespace
rgrep.py                Reverse grep through a file (useful for big logfiles)
serve.py                Small wsgiref-based web server, used in make serve in Doc
suff.py                 Sort a list of files by suffix
svneol.py               Set svn:eol-style on all files in directory
texi2html.py            Convert GNU texinfo files into HTML
treesync.py             Synchronize source trees (very idiosyncratic)
untabify.py             Replace tabs with spaces in argument files
win_add2path.py         Add Python to the search path on Windows
which.py                Find a program in $PATH